summaryrefslogtreecommitdiffstats
path: root/Source/cmVariableWatchCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-06-22 17:00:29 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-06-22 17:00:29 (GMT)
commitc7180e822b4f6ca37a5175e66016ca3a748f4727 (patch)
tree062c79132a702148c0412924baee837da4d4ccc3 /Source/cmVariableWatchCommand.cxx
parent91611c39eb58006ced851f9eff50dd721c516aab (diff)
parent782657db48e0d5f0d33a19ad51678d36ddfa7ad5 (diff)
downloadCMake-c7180e822b4f6ca37a5175e66016ca3a748f4727.zip
CMake-c7180e822b4f6ca37a5175e66016ca3a748f4727.tar.gz
CMake-c7180e822b4f6ca37a5175e66016ca3a748f4727.tar.bz2
Merge topic 'clean-up-cmListFileArgument'
782657db cmListFileArgument: Remove FilePath member. a863c59f cmMakefile: Use GetExecutionFileStack method. 076760a6 cmMakefile: Add filename context to ExpandArguments. 569f4785 cmFunctionCommand: Store the FilePath when creating the prototype. f971ab04 cmMacroCommand: Store the FilePath when creating the prototype.
Diffstat (limited to 'Source/cmVariableWatchCommand.cxx')
-rw-r--r--Source/cmVariableWatchCommand.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmVariableWatchCommand.cxx b/Source/cmVariableWatchCommand.cxx
index 09cef5e..6521c04 100644
--- a/Source/cmVariableWatchCommand.cxx
+++ b/Source/cmVariableWatchCommand.cxx
@@ -49,21 +49,21 @@ static void cmVariableWatchCommandVariableAccessed(
newLFF.Arguments.clear();
newLFF.Arguments.push_back(
cmListFileArgument(variable, cmListFileArgument::Quoted,
- "unknown", 9999));
+ 9999));
newLFF.Arguments.push_back(
cmListFileArgument(accessString, cmListFileArgument::Quoted,
- "unknown", 9999));
+ 9999));
newLFF.Arguments.push_back(
cmListFileArgument(newValue?newValue:"", cmListFileArgument::Quoted,
- "unknown", 9999));
+ 9999));
newLFF.Arguments.push_back(
cmListFileArgument(currentListFile, cmListFileArgument::Quoted,
- "unknown", 9999));
+ 9999));
newLFF.Arguments.push_back(
cmListFileArgument(stack, cmListFileArgument::Quoted,
- "unknown", 9999));
+ 9999));
newLFF.Name = data->Command;
- newLFF.FilePath = "Some weird path";
+ newLFF.FilePath = "unknown";
newLFF.Line = 9999;
cmExecutionStatus status;
if(!makefile->ExecuteCommand(newLFF,status))