summaryrefslogtreecommitdiffstats
path: root/Source/cmGraphVizWriter.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-09-05 20:09:49 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-09-05 20:09:49 (GMT)
commit1a9de8035c35cdb3e0501ce2cf2f816e4220bea0 (patch)
tree8d2e7686145b5e03ddb5a0e181f9bb1b78dd47c7 /Source/cmGraphVizWriter.cxx
parentbfdf1322e7638687c96b323b1df20fd9c08b3044 (diff)
downloadCMake-1a9de8035c35cdb3e0501ce2cf2f816e4220bea0.zip
CMake-1a9de8035c35cdb3e0501ce2cf2f816e4220bea0.tar.gz
CMake-1a9de8035c35cdb3e0501ce2cf2f816e4220bea0.tar.bz2
surround macro arguments with parentheses
Diffstat (limited to 'Source/cmGraphVizWriter.cxx')
-rw-r--r--Source/cmGraphVizWriter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGraphVizWriter.cxx b/Source/cmGraphVizWriter.cxx
index 2824f7e..e88e048 100644
--- a/Source/cmGraphVizWriter.cxx
+++ b/Source/cmGraphVizWriter.cxx
@@ -98,7 +98,7 @@ void cmGraphVizWriter::ReadSettings(const char* settingsFileName,
{ \
const char* value = mf->GetDefinition(cmakeDefinition); \
if (value) { \
- var = value; \
+ (var) = value; \
} \
}
@@ -111,7 +111,7 @@ void cmGraphVizWriter::ReadSettings(const char* settingsFileName,
{ \
const char* value = mf->GetDefinition(cmakeDefinition); \
if (value) { \
- var = mf->IsOn(cmakeDefinition); \
+ (var) = mf->IsOn(cmakeDefinition); \
} \
}