summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2013-10-27 12:08:38 +0000
committerPhilip Withnall <philip.withnall@collabora.co.uk>2013-10-29 10:44:27 +0000
commit62f7546a039296e42b90ca9f9590caf9db5bc6ef (patch)
tree789cb2affbb29042aa1f57dd79e3d37d10fecae6
parenteb0a7dce6b639e354b4b9736ed879921595f12fb (diff)
downloadgnome-common-62f7546a039296e42b90ca9f9590caf9db5bc6ef.tar.gz
compiler-flags: Simplify a case statement slightly
-rw-r--r--macros2/gnome-compiler-flags.m45
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"
;;
*)