summaryrefslogtreecommitdiffstats
path: root/Source/cmXCodeObject.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-02-02 22:16:07 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-02-02 22:16:07 (GMT)
commit68c419c780a954c48a91291fbc1dcf038d99e7f3 (patch)
tree5c9fb3ca07ff9bfe819b1abb12c20a52cdec433c /Source/cmXCodeObject.cxx
parenta9af1c23efa81fd6386904c61386bb45e380348c (diff)
downloadCMake-68c419c780a954c48a91291fbc1dcf038d99e7f3.zip
CMake-68c419c780a954c48a91291fbc1dcf038d99e7f3.tar.gz
CMake-68c419c780a954c48a91291fbc1dcf038d99e7f3.tar.bz2
ENH: getting closer
Diffstat (limited to 'Source/cmXCodeObject.cxx')
-rw-r--r--Source/cmXCodeObject.cxx18
1 files changed, 2 insertions, 16 deletions
diff --git a/Source/cmXCodeObject.cxx b/Source/cmXCodeObject.cxx
index b4ecee9..78006ba 100644
--- a/Source/cmXCodeObject.cxx
+++ b/Source/cmXCodeObject.cxx
@@ -77,14 +77,7 @@ void cmXCodeObject::Print(std::ostream& out)
for(j = object->m_ObjectAttributes.begin(); j != object->m_ObjectAttributes.end(); ++j)
{
cmXCodeObject::Indent(4, out);
- if(object->m_String.size() )
- {
- out << j->first << " = " << j->second->m_String << ";\n";
- }
- else
- {
- out << j->first << " = " << "\"\";\n";
- }
+ out << j->first << " = " << j->second->m_String << ";\n";
}
cmXCodeObject::Indent(3, out);
out << "};\n";
@@ -95,14 +88,7 @@ void cmXCodeObject::Print(std::ostream& out)
}
else if(object->m_Type == STRING)
{
- if(object->m_String.size() )
- {
- out << i->first << " = " << object->m_String << ";\n";
- }
- else
- {
- out << i->first << " = " << "\"\";\n";
- }
+ out << i->first << " = " << object->m_String << ";\n";
}
else
{