Don't write empty labels.
Not worth a cache increase I think.
This commit is contained in:
@@ -172,6 +172,7 @@ static void GetTimingTags( vector<RString> &lines, const TimingData &timing, boo
|
|||||||
for (i = 0; i < labels.size(); i++)
|
for (i = 0; i < labels.size(); i++)
|
||||||
{
|
{
|
||||||
LabelSegment *ls = static_cast<LabelSegment *>(labels[i]);
|
LabelSegment *ls = static_cast<LabelSegment *>(labels[i]);
|
||||||
|
if (!ls->GetLabel().empty())
|
||||||
w.Write( ls->GetRow(), ls->GetLabel().c_str() );
|
w.Write( ls->GetRow(), ls->GetLabel().c_str() );
|
||||||
}
|
}
|
||||||
w.Finish();
|
w.Finish();
|
||||||
|
|||||||
Reference in New Issue
Block a user