summaryrefslogtreecommitdiffstats
path: root/Source/cmXCode21Object.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmXCode21Object.cxx')
-rw-r--r--Source/cmXCode21Object.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmXCode21Object.cxx b/Source/cmXCode21Object.cxx
index 96f7b0f..f30f700 100644
--- a/Source/cmXCode21Object.cxx
+++ b/Source/cmXCode21Object.cxx
@@ -31,6 +31,10 @@ void cmXCode21Object::PrintComment(std::ostream& out)
cmSystemTools::ReplaceString(this->Comment, "\"", "");
}
}
+ if(this->Comment.empty())
+ {
+ return;
+ }
out << " /* ";
out << this->Comment;
out << " */";