]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - opts.c
Changing -Wtoo-few-parameters to -Winvalid-parameter-count; removing hardcoded COMPIL...
[xonotic/gmqcc.git] / opts.c
diff --git a/opts.c b/opts.c
index ec8e40b6552da7c7567eea32dd34ce1450e8b596..d326e42906647b9f3e9775fd254586dccd197e3a 100644 (file)
--- a/opts.c
+++ b/opts.c
@@ -35,7 +35,7 @@ static void opts_setdefault() {
     opts_set(opts.warn,  WARN_EXTENSIONS,                true);
     opts_set(opts.warn,  WARN_FIELD_REDECLARED,          true);
     opts_set(opts.warn,  WARN_MISSING_RETURN_VALUES,     true);
-    opts_set(opts.warn,  WARN_TOO_FEW_PARAMETERS,        true);
+    opts_set(opts.warn,  WARN_INVALID_PARAMETER_COUNT,   true);
     opts_set(opts.warn,  WARN_LOCAL_SHADOWS,             false);
     opts_set(opts.warn,  WARN_LOCAL_CONSTANTS,           true);
     opts_set(opts.warn,  WARN_VOID_VARIABLES,            true);