diff --git a/m_option.c b/m_option.c index 64c3b71720..7d7e16926c 100644 --- a/m_option.c +++ b/m_option.c @@ -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 && ptr3fields,"password")) { mp_msg(MSGT_CFGPARSER, MSGL_WARN, "Option %s: This URL doesn't have a password part.\n",name); // skip