summaryrefslogtreecommitdiffstats
path: root/m_option.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-09 16:52:48 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-09 16:52:48 +0000
commit2fdc1e9a8e48da07c13a1a2611b84ec6a88bc7bf (patch)
treea2e8e397c3b0a245e6c6b491da151f11d162d1db /m_option.c
parent4b78be8891e25090831d1c8a0b013713570ad2ed (diff)
downloadmpv-2fdc1e9a8e48da07c13a1a2611b84ec6a88bc7bf.tar.bz2
mpv-2fdc1e9a8e48da07c13a1a2611b84ec6a88bc7bf.tar.xz
Get rid of two initialized but unused variables
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19364 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'm_option.c')
-rw-r--r--m_option.c2
1 files changed, 0 insertions, 2 deletions
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 && 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