summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index e68f58d..cd9d10d 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -142,7 +142,7 @@ cmake::cmake()
this->Trace = false;
this->WarnUninitialized = false;
this->WarnUnused = false;
- this->DefaultToUsed = false;
+ this->DefaultToUsed = true;
this->SuppressDevWarnings = false;
this->DoSuppressDevWarnings = false;
this->DebugOutput = false;
@@ -625,7 +625,6 @@ void cmake::SetArgs(const std::vector<std::string>& args)
{
std::cout << "Finding unused command line variables.\n";
this->SetWarnUnused(true);
- this->SetDefaultToUsed(true);
}
else if(arg.find("--warn-unused-all",0) == 0)
{