Minor cleanups (#237)
* In Sta::makeExceptionTo make end_rf const Signed-off-by: Matt Liberty <mliberty@precisioninno.com> * In TagGroup::pathIndex quiet compiler warning about possibly uninit value Signed-off-by: Matt Liberty <mliberty@precisioninno.com> --------- Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
This commit is contained in:
parent
98c04dbb71
commit
1329b9c55a
|
|
@ -542,7 +542,7 @@ public:
|
||||||
ClockSet *to_clks,
|
ClockSet *to_clks,
|
||||||
InstanceSet *to_insts,
|
InstanceSet *to_insts,
|
||||||
const RiseFallBoth *rf,
|
const RiseFallBoth *rf,
|
||||||
RiseFallBoth *end_rf);
|
const RiseFallBoth *end_rf);
|
||||||
void checkExceptionToPins(ExceptionTo *to,
|
void checkExceptionToPins(ExceptionTo *to,
|
||||||
const char *file, int) const;
|
const char *file, int) const;
|
||||||
void deleteExceptionTo(ExceptionTo *to);
|
void deleteExceptionTo(ExceptionTo *to);
|
||||||
|
|
|
||||||
|
|
@ -2073,7 +2073,7 @@ Sta::makeExceptionTo(PinSet *to_pins,
|
||||||
ClockSet *to_clks,
|
ClockSet *to_clks,
|
||||||
InstanceSet *to_insts,
|
InstanceSet *to_insts,
|
||||||
const RiseFallBoth *rf,
|
const RiseFallBoth *rf,
|
||||||
RiseFallBoth *end_rf)
|
const RiseFallBoth *end_rf)
|
||||||
{
|
{
|
||||||
return sdc_->makeExceptionTo(to_pins, to_clks, to_insts, rf, end_rf);
|
return sdc_->makeExceptionTo(to_pins, to_clks, to_insts, rf, end_rf);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -84,7 +84,7 @@ TagGroup::hasTag(Tag *tag) const
|
||||||
size_t
|
size_t
|
||||||
TagGroup::pathIndex(Tag *tag) const
|
TagGroup::pathIndex(Tag *tag) const
|
||||||
{
|
{
|
||||||
size_t path_index;
|
size_t path_index = 0;
|
||||||
bool exists;
|
bool exists;
|
||||||
pathIndex(tag, path_index, exists);
|
pathIndex(tag, path_index, exists);
|
||||||
return path_index;
|
return path_index;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue