[Libreoffice-commits] online.git: Makefile.am tools/Config.cpp

Miklos Vajna vmiklos at collabora.co.uk
Thu Jun 22 07:04:13 UTC 2017


 Makefile.am      |    2 +-
 tools/Config.cpp |    3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

New commits:
commit ad8584f5d737bc681f363c6612c28d4d3525b836
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Thu Jun 22 09:03:35 2017 +0200

    tools: initializer for base class XMLConfiguration is redundant, remove it
    
    Also run the clang static analyzer on net/ by excluding test/, and not
    explicitly listing all non-test directories.
    
    Change-Id: Iac203f1cf9161da1c51501de8b0c3cc9dc6e2027

diff --git a/Makefile.am b/Makefile.am
index 992ab68e..1ec26be0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -281,7 +281,7 @@ clean-cache cache-clean:
 	test -n "@LOOLWSD_CACHEDIR@" && rm -rf "@LOOLWSD_CACHEDIR@"/[0-9a-f]
 
 clang-tidy:
-	for i in {common,kit,tools,wsd}/*.cpp; do echo $$i; clang-tidy -header-filter=^$(PWD).* $$i || break; done
+	for i in $(shell git ls-files|grep /.*cpp$$|grep -v test); do echo $$i; clang-tidy -header-filter=^$(PWD).* $$i || break; done
 
 # After building loolforkit, set its capabilities as required. Do it
 # already after a plain 'make' to allow for testing without
diff --git a/tools/Config.cpp b/tools/Config.cpp
index 1692453d..54b95d69 100644
--- a/tools/Config.cpp
+++ b/tools/Config.cpp
@@ -36,8 +36,7 @@ using Poco::Util::XMLConfiguration;
 class LoolConfig final: public XMLConfiguration
 {
 public:
-    LoolConfig() :
-        XMLConfiguration()
+    LoolConfig()
         {}
 };
 


More information about the Libreoffice-commits mailing list