summaryrefslogtreecommitdiffstats
path: root/Source/cmGraphVizWriter.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-09-06 12:50:55 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-09-06 12:50:55 (GMT)
commit19255a3516e230da77b18c051d89012bcabcd254 (patch)
tree45f7f57f5b84a5664a08d198b924b8ed2cb32707 /Source/cmGraphVizWriter.cxx
parenteb226b366f40da2d284bb60d57c2d8bcb85de607 (diff)
parent1a9de8035c35cdb3e0501ce2cf2f816e4220bea0 (diff)
downloadCMake-19255a3516e230da77b18c051d89012bcabcd254.zip
CMake-19255a3516e230da77b18c051d89012bcabcd254.tar.gz
CMake-19255a3516e230da77b18c051d89012bcabcd254.tar.bz2
Merge topic 'macro-parenthesis'
1a9de803 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); \
} \
}