# HG changeset patch # User reimar # Date 1196610404 0 # Node ID 75837c33484b82b206edd7f795d928b15a554f66 # Parent 78ac40115c15a8a3706c1c0f063531bf426667d0 Mark more m_option_t uses as const diff -r 78ac40115c15 -r 75837c33484b parser-mecmd.c --- a/parser-mecmd.c Sun Dec 02 15:43:30 2007 +0000 +++ b/parser-mecmd.c Sun Dec 02 15:46:44 2007 +0000 @@ -86,7 +86,7 @@ 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); diff -r 78ac40115c15 -r 75837c33484b parser-mpcmd.c --- a/parser-mpcmd.c Sun Dec 02 15:43:30 2007 +0000 +++ b/parser-mpcmd.c Sun Dec 02 15:46:44 2007 +0000 @@ -170,7 +170,7 @@ 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