[Libreoffice-commits] core.git: compilerplugins/clang

Stephan Bergmann sbergman at redhat.com
Mon Feb 6 10:58:11 UTC 2017


 compilerplugins/clang/unusedenumconstants.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3ea39bda0e948fde338bd9493639f4a6e8a8ea5b
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Feb 6 11:57:39 2017 +0100

    loplugin:unusedenumconstants should apparently not be run by default
    
    Change-Id: I42f479de39b94ca8e9c72a6e92534f602a9fad39

diff --git a/compilerplugins/clang/unusedenumconstants.cxx b/compilerplugins/clang/unusedenumconstants.cxx
index c2658949..2500451 100644
--- a/compilerplugins/clang/unusedenumconstants.cxx
+++ b/compilerplugins/clang/unusedenumconstants.cxx
@@ -191,7 +191,7 @@ try_again:
     return true;
 }
 
-loplugin::Plugin::Registration< UnusedEnumConstants > X("unusedenumconstants", true);
+loplugin::Plugin::Registration< UnusedEnumConstants > X("unusedenumconstants", false);
 
 }
 


More information about the Libreoffice-commits mailing list