1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-22 03:08:33 +00:00

Get rid of two initialized but unused variables

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19364 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2006-08-09 16:52:48 +00:00
parent 4b78be8891
commit 2fdc1e9a8e

View File

@ -1837,7 +1837,6 @@ static int parse_custom_url(m_option_t* opt,char *name,
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 @@ static int parse_custom_url(m_option_t* opt,char *name,
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