Mercurial > mplayer.hg
diff m_option.c @ 19358:41bcb2309c9c
Get rid of two initialized but unused variables
author | reimar |
---|---|
date | Wed, 09 Aug 2006 16:52:48 +0000 |
parents | 64d82a45a05d |
children | 02a18c52a42a |
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