Move variable declaration into block where it is used and make it const.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29602 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2009-08-31 09:41:27 +00:00
parent 7d0270087d
commit 1cd2feed03
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,6 @@ int m_config_preparse_command_line(m_config_t *config, int argc, char **argv)
{
int msg_lvl, i, r, ret = 0;
char* arg;
m_option_t* opt;
// Hack to shutup the parser error messages.
msg_lvl = mp_msg_levels[MSGT_CFGPARSER];
@ -261,6 +260,7 @@ int m_config_preparse_command_line(m_config_t *config, int argc, char **argv)
config->mode = M_COMMAND_LINE_PRE_PARSE;
for(i = 1 ; i < argc ; i++) {
const m_option_t* opt;
arg = argv[i];
// Ignore non option
if(arg[0] != '-' || arg[1] == 0) continue;