summaryrefslogtreecommitdiffstats
path: root/Source/cmGetCMakePropertyCommand.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-07 13:11:42 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-07 13:21:55 (GMT)
commit046aafff12e6fa9834c7c114a59389df404ddf18 (patch)
treeca907fc29d0019286028316379d7e2ddb04d0b60 /Source/cmGetCMakePropertyCommand.cxx
parent021c4b6f2bced25c9adbb472b94148987e1b6398 (diff)
downloadCMake-046aafff12e6fa9834c7c114a59389df404ddf18.zip
CMake-046aafff12e6fa9834c7c114a59389df404ddf18.tar.gz
CMake-046aafff12e6fa9834c7c114a59389df404ddf18.tar.bz2
cmGetCMakePropertyCommand: Don't explicitly specify default param.
Diffstat (limited to 'Source/cmGetCMakePropertyCommand.cxx')
-rw-r--r--Source/cmGetCMakePropertyCommand.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGetCMakePropertyCommand.cxx b/Source/cmGetCMakePropertyCommand.cxx
index 76803c1..61cf85b 100644
--- a/Source/cmGetCMakePropertyCommand.cxx
+++ b/Source/cmGetCMakePropertyCommand.cxx
@@ -32,8 +32,7 @@ bool cmGetCMakePropertyCommand
if ( args[1] == "VARIABLES" )
{
- int cacheonly = 0;
- std::vector<std::string> vars = this->Makefile->GetDefinitions(cacheonly);
+ std::vector<std::string> vars = this->Makefile->GetDefinitions();
if (!vars.empty())
{
output = cmJoin(vars, ";");