Clean up three sets of warnings:
* Ensure all switches have a default when working with enums. * Match defined new[] calls with delete[] calls. * Respect variable initialization order.
This commit is contained in:
@@ -712,6 +712,8 @@ void TimingData::AddSegment( const TimingSegment *seg )
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
// the segment at or before this row is equal to the new one; ignore it
|
||||
|
||||
Reference in New Issue
Block a user