diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-06-11 07:49:00 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-06-11 07:49:00 (GMT) |
commit | 757b0ff5dd08445ebac4f7ea50dd143a67f2e966 (patch) | |
tree | 643e7f1eb4a264376e271e148b2e8c319377a493 /Source/cmStandardIncludes.h | |
parent | a16bf141bc5d393b27d13d8235d95a1b034052c2 (diff) | |
download | CMake-757b0ff5dd08445ebac4f7ea50dd143a67f2e966.zip CMake-757b0ff5dd08445ebac4f7ea50dd143a67f2e966.tar.gz CMake-757b0ff5dd08445ebac4f7ea50dd143a67f2e966.tar.bz2 |
Add missing braces around statements in header files
Diffstat (limited to 'Source/cmStandardIncludes.h')
-rw-r--r-- | Source/cmStandardIncludes.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h index 6669e5c..d3bf301 100644 --- a/Source/cmStandardIncludes.h +++ b/Source/cmStandardIncludes.h @@ -75,17 +75,21 @@ struct cmDocumentationEntry cmDocumentationEntry() {} cmDocumentationEntry(const char* doc[2]) { - if (doc[0]) + if (doc[0]) { this->Name = doc[0]; - if (doc[1]) + } + if (doc[1]) { this->Brief = doc[1]; + } } cmDocumentationEntry(const char* n, const char* b) { - if (n) + if (n) { this->Name = n; - if (b) + } + if (b) { this->Brief = b; + } } }; |