From d054289f668499d6acea307f14c62d44d35b6840 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 11 Dec 2014 01:04:15 +0100 Subject: options: add slightly more sophistcated mechanism for option deprecation --- options/m_config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'options/m_config.h') diff --git a/options/m_config.h b/options/m_config.h index 2a27dc69a6..9993909e41 100644 --- a/options/m_config.h +++ b/options/m_config.h @@ -40,6 +40,7 @@ struct mp_log; struct m_config_option { bool is_generated : 1; // Automatically added ("no-" options) bool is_set_from_cmdline : 1; // Set by user from command line + bool warning_was_printed : 1; const char *name; // Full name (ie option-subopt) const struct m_option *opt; // Option description void *data; // Raw value of the option -- cgit v1.2.3