From d067efd6c54ff66cca85b96eefbcdcc3bad4ecb4 Mon Sep 17 00:00:00 2001 From: Jan Vorlicek Date: Thu, 16 Apr 2015 23:29:48 +0200 Subject: Fix dangling else warnings This change fixes all dangling else warnings and removes the compiler flag that was disabling their reporting. --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 9b2786fab0..9b189d00e4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -265,7 +265,6 @@ add_compile_options(-ferror-limit=4096) # Disabled warnings add_compile_options(-Wno-unused-private-field) -add_compile_options(-Wno-dangling-else) add_compile_options(-Wno-implicit-exception-spec-mismatch) # A derived class defines a virtual method with the same name as its base # class, but different set of parameters. -- cgit v1.2.3