summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-10-11 17:33:42 (GMT)
committerStephen Kelly <steveire@gmail.com>2016-10-15 09:25:12 (GMT)
commitf796e1b6f6984b200453a13e6b8640353ff9488b (patch)
tree1bfd77e18dcc25758b17bb590f75270b967728d2 /Source/cmLocalGenerator.cxx
parentc75a9d660169ddd1e7be57486d3813ca73886b55 (diff)
downloadCMake-f796e1b6f6984b200453a13e6b8640353ff9488b.zip
CMake-f796e1b6f6984b200453a13e6b8640353ff9488b.tar.gz
CMake-f796e1b6f6984b200453a13e6b8640353ff9488b.tar.bz2
cmLocalGenerator: Move memset to cxx file
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index fad7fae..849ffe4 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -560,6 +560,11 @@ cmState::Snapshot cmLocalGenerator::GetStateSnapshot() const
return this->Makefile->GetStateSnapshot();
}
+cmLocalGenerator::RuleVariables::RuleVariables()
+{
+ memset(this, 0, sizeof(*this));
+}
+
std::string cmLocalGenerator::ExpandRuleVariable(
cmOutputConverter* outputConverter, std::string const& variable,
const RuleVariables& replaceValues)