[MPlayer-cvslog] r29602 - trunk/parser-cfg.c
reimar
subversion at mplayerhq.hu
Mon Aug 31 11:41:27 CEST 2009
Author: reimar
Date: Mon Aug 31 11:41:27 2009
New Revision: 29602
Log:
Move variable declaration into block where it is used and make it const.
Modified:
trunk/parser-cfg.c
Modified: trunk/parser-cfg.c
==============================================================================
--- trunk/parser-cfg.c Mon Aug 31 11:40:04 2009 (r29601)
+++ trunk/parser-cfg.c Mon Aug 31 11:41:27 2009 (r29602)
@@ -252,7 +252,6 @@ int m_config_preparse_command_line(m_con
{
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_con
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;
More information about the MPlayer-cvslog
mailing list