From d2cef4c24019ae7724c1bd0eff6d4e30f63b22a1 Mon Sep 17 00:00:00 2001 From: ulion Date: Sat, 22 Dec 2007 03:45:14 +0000 Subject: [PATCH] Move two variable to the scope where they are indeed used. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25488 b3059339-0415-0410-9bf9-f77b7e298cf2 --- m_property.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/m_property.c b/m_property.c index 52a10ffe35..2b9b04d4d7 100644 --- a/m_property.c +++ b/m_property.c @@ -144,10 +144,10 @@ char* m_properties_expand_string(m_option_t* prop_list,char* str, void *ctx) { l = 0; str = e+1; } else if(str[0] == '?' && str[1] == '(' && (e = strchr(str+2,':'))) { - int pl = e-str-2; - char pname[pl+1]; lvl++; if(!skip) { + int pl = e-str-2; + char pname[pl+1]; memcpy(pname,str+2,pl); pname[pl] = 0; if(m_property_do(prop_list,pname,M_PROPERTY_GET,NULL,ctx) < 0)