compiler-flags: Simplify a case statement slightly
authorPhilip Withnall <philip@tecnocode.co.uk>
Sun, 27 Oct 2013 12:08:38 +0000 (12:08 +0000)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Tue, 29 Oct 2013 10:44:27 +0000 (10:44 +0000)
macros2/gnome-compiler-flags.m4

index 160dfa8..cd1a0f5 100644 (file)
@@ -63,10 +63,7 @@ AC_DEFUN([GNOME_COMPILE_WARNINGS],[
     minimum)
         warning_flags="-Wall"
         ;;
-    yes)
-        warning_flags="$base_warn_flags $base_error_flags $additional_flags"
-        ;;
-    maximum|error)
+    yes|maximum|error)
         warning_flags="$base_warn_flags $base_error_flags $additional_flags"
         ;;
     *)