tdf#39440: fix several warnings reported by cppcheck

Change-Id: I560d28b7cc67740c6479494d0e5aa62d2ac6ffae
Reviewed-on: https://gerrit.libreoffice.org/19587
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
This commit is contained in:
Serge Krot
2015-10-25 14:37:11 +03:00
committed by Thorsten Behrens
parent ce463679a5
commit 0b018d202d
15 changed files with 21 additions and 22 deletions

View File

@@ -21,7 +21,7 @@ class StaticMethods:
private:
bool bVisitedThis;
public:
explicit StaticMethods(InstantiationData const & data): Plugin(data) {}
explicit StaticMethods(InstantiationData const & data): Plugin(data), bVisitedThis(false) {}
void run() override
{ TraverseDecl(compiler.getASTContext().getTranslationUnitDecl()); }