changeset 19358:41bcb2309c9c

Get rid of two initialized but unused variables
author reimar
date Wed, 09 Aug 2006 16:52:48 +0000
parents 59af53f4f436
children 06e9e957ceca
files m_option.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/m_option.c	Wed Aug 09 11:03:11 2006 +0000
+++ b/m_option.c	Wed Aug 09 16:52:48 2006 +0000
@@ -1837,7 +1837,6 @@
   if( ptr2!=NULL ) {
     
     // We got something, at least a username...
-    int len = ptr2-ptr1;
     if(!m_option_list_find(desc->fields,"username")) {
       mp_msg(MSGT_CFGPARSER, MSGL_WARN, "Option %s: This URL doesn't have a username part.\n",name);
       // skip
@@ -1845,7 +1844,6 @@
       ptr3 = strstr(ptr1, ":");
       if( ptr3!=NULL && ptr3<ptr2 ) {
 	// We also have a password
-	int len2 = ptr2-ptr3-1;
 	if(!m_option_list_find(desc->fields,"password")) {
 	  mp_msg(MSGT_CFGPARSER, MSGL_WARN, "Option %s: This URL doesn't have a password part.\n",name);
 	  // skip