Mark more m_option_t uses as const

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25255 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-12-02 15:46:44 +00:00
parent d5a98e8598
commit 8373b55173
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ m_config_parse_me_command_line(m_config_t *config, int argc, char **argv)
if ((no_more_opts == 0) && (*opt == '-') && (*(opt+1) != 0)) /* option */
{
m_option_t* mp_opt = NULL;
const m_option_t* mp_opt = NULL;
/* remove trailing '-' */
opt++;
mp_msg(MSGT_CFGPARSER, MSGL_DBG3, "this_opt = option: %s\n", opt);

View File

@ -170,7 +170,7 @@ m_config_parse_mp_command_line(m_config_t *config, int argc, char **argv)
else
last_parent->flags &= ~PLAY_TREE_RND;
} else {
m_option_t* mp_opt = NULL;
const m_option_t* mp_opt = NULL;
play_tree_t* entry = NULL;
tmp = is_entry_option(opt,(i+1<argc) ? argv[i + 1] : NULL,&entry);