summaryrefslogtreecommitdiffstats
path: root/m_option.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-08-04 11:39:23 +0200
committerwm4 <wm4@nowhere>2012-08-04 19:59:56 +0200
commit70c455a59610242fc982e257c375f43c880ff0f7 (patch)
tree6dfbfbde1a17cec876bc9aa598137389bb1d4794 /m_option.h
parent6031b8e22ce34754218ddcd98d4758ab46d647b8 (diff)
downloadmpv-70c455a59610242fc982e257c375f43c880ff0f7.tar.bz2
mpv-70c455a59610242fc982e257c375f43c880ff0f7.tar.xz
m_options: get rid of CONF_NOSAVE
This was already treated like CONF_GLOBAL. Profiles can actually be file-local, as long as the profile sets file local options only. Allow them to do so.
Diffstat (limited to 'm_option.h')
-rw-r--r--m_option.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/m_option.h b/m_option.h
index d100e1c628..064444a63f 100644
--- a/m_option.h
+++ b/m_option.h
@@ -284,13 +284,6 @@ struct m_option {
*/
#define M_OPT_GLOBAL (1 << 4)
-// The \ref Config won't save this option on push.
-/** It won't be saved on push but the command line parser will add it with
- * its entry (i.e. it may be set later)
- * e.g options : -include
- */
-#define M_OPT_NOSAVE (1 << 5)
-
// The option should be set during command line pre-parsing
#define M_OPT_PRE_PARSE (1 << 6)
@@ -306,7 +299,6 @@ struct m_option {
#define CONF_NOCFG M_OPT_NOCFG
#define CONF_NOCMD M_OPT_NOCMD
#define CONF_GLOBAL M_OPT_GLOBAL
-#define CONF_NOSAVE M_OPT_NOSAVE
#define CONF_PRE_PARSE M_OPT_PRE_PARSE
// These flags are used to describe special parser capabilities or behavior.