summaryrefslogtreecommitdiffstats
path: root/options/m_option.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-07-02 13:52:36 +0200
committerwm4 <wm4@nowhere>2017-07-02 13:52:36 +0200
commitd24f4587a7cb85e559b06d7a191bb28bbdbf52ad (patch)
treed0a5cc277b3cdde6fea6416bc50f3248e372f5bb /options/m_option.h
parent1097c1416f352fe4da49391548224a057cfc870d (diff)
downloadmpv-d24f4587a7cb85e559b06d7a191bb28bbdbf52ad.tar.bz2
mpv-d24f4587a7cb85e559b06d7a191bb28bbdbf52ad.tar.xz
m_option: remove unused error code
The situation in the str_list_* functions can never happen, and they were the only users of this error code.
Diffstat (limited to 'options/m_option.h')
-rw-r--r--options/m_option.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/options/m_option.h b/options/m_option.h
index 8489077627..dea3956f7f 100644
--- a/options/m_option.h
+++ b/options/m_option.h
@@ -458,11 +458,8 @@ struct m_option {
// The option doesn't take a parameter.
#define M_OPT_DISALLOW_PARAM -5
-// Returned if the parser failed for any other reason than a bad parameter.
-#define M_OPT_PARSER_ERR -6
-
// Returned when MPlayer should exit. Used by various help stuff.
-#define M_OPT_EXIT -7
+#define M_OPT_EXIT -6
char *m_option_strerror(int code);