[MPlayer-cvslog] r25255 - in trunk: parser-mecmd.c parser-mpcmd.c

reimar subversion at mplayerhq.hu
Sun Dec 2 16:46:44 CET 2007


Author: reimar
Date: Sun Dec  2 16:46:44 2007
New Revision: 25255

Log:
Mark more m_option_t uses as const


Modified:
   trunk/parser-mecmd.c
   trunk/parser-mpcmd.c

Modified: trunk/parser-mecmd.c
==============================================================================
--- trunk/parser-mecmd.c	(original)
+++ trunk/parser-mecmd.c	Sun Dec  2 16:46:44 2007
@@ -86,7 +86,7 @@ m_config_parse_me_command_line(m_config_
 			
     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);

Modified: trunk/parser-mpcmd.c
==============================================================================
--- trunk/parser-mpcmd.c	(original)
+++ trunk/parser-mpcmd.c	Sun Dec  2 16:46:44 2007
@@ -170,7 +170,7 @@ m_config_parse_mp_command_line(m_config_
 	  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);



More information about the MPlayer-cvslog mailing list