[gnome-common] compiler-flags: Simplify a case statement slightly



commit 62f7546a039296e42b90ca9f9590caf9db5bc6ef
Author: Philip Withnall <philip tecnocode co uk>
Date:   Sun Oct 27 12:08:38 2013 +0000

    compiler-flags: Simplify a case statement slightly

 macros2/gnome-compiler-flags.m4 |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/macros2/gnome-compiler-flags.m4 b/macros2/gnome-compiler-flags.m4
index 160dfa8..cd1a0f5 100644
--- a/macros2/gnome-compiler-flags.m4
+++ b/macros2/gnome-compiler-flags.m4
@@ -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"
         ;;
     *)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]