diff --git a/src/checkunusedfunctions.h b/src/checkunusedfunctions.h index cd99cd86c..3eeb6ce38 100644 --- a/src/checkunusedfunctions.h +++ b/src/checkunusedfunctions.h @@ -53,12 +53,8 @@ private: class FunctionUsage { public: - FunctionUsage() - { - filename = ""; - usedOtherFile = false; - usedSameFile = false; - } + FunctionUsage() : usedSameFile(false), usedOtherFile(false) + { } std::string filename; bool usedSameFile;