mirror of https://github.com/mpv-player/mpv
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:
parent
d5a98e8598
commit
8373b55173
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue