Don't write empty labels.

Not worth a cache increase I think.
This commit is contained in:
Jason Felds
2012-01-16 13:10:10 -05:00
parent e6b4a88c56
commit 44d8eaa10a
+2 -1
View File
@@ -172,7 +172,8 @@ static void GetTimingTags( vector<RString> &lines, const TimingData &timing, boo
for (i = 0; i < labels.size(); i++)
{
LabelSegment *ls = static_cast<LabelSegment *>(labels[i]);
w.Write( ls->GetRow(), ls->GetLabel().c_str() );
if (!ls->GetLabel().empty())
w.Write( ls->GetRow(), ls->GetLabel().c_str() );
}
w.Finish();
}