From 056b44113f86a79ea9d68548005292a9d48d45f8 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 14 Sep 2010 17:10:22 -0400 Subject: [PATCH] Fix missing case for usage of a variable --- Source/cmMakefile.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index c174bd665..f6c8c7379 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -1649,6 +1649,7 @@ void cmMakefile::AddDefinition(const char* name, const char* value) #endif this->Internal->VarStack.top().Set(name, value); + this->Internal->VarInitStack.top().insert(name); if (this->Internal->VarUsageStack.size() > 1) { this->CheckForUnused("changing definition", name);