[MPlayer-cvslog] r19364 - trunk/m_option.c

reimar subversion at mplayerhq.hu
Wed Aug 9 18:52:48 CEST 2006


Author: reimar
Date: Wed Aug  9 18:52:48 2006
New Revision: 19364

Modified:
   trunk/m_option.c

Log:
Get rid of two initialized but unused variables


Modified: trunk/m_option.c
==============================================================================
--- trunk/m_option.c	(original)
+++ trunk/m_option.c	Wed Aug  9 18:52:48 2006
@@ -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



More information about the MPlayer-cvslog mailing list