From 1cbfea5d267e0c949123b021f3c98993ef78cef9 Mon Sep 17 00:00:00 2001 From: Matt Liberty Date: Tue, 15 Apr 2025 18:50:15 +0000 Subject: [PATCH] fix compiler errors (to upstream) Signed-off-by: Matt Liberty --- include/sta/Sta.hh | 2 +- search/Sta.cc | 2 +- search/TagGroup.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/sta/Sta.hh b/include/sta/Sta.hh index a346ddd7..6c78a7f8 100644 --- a/include/sta/Sta.hh +++ b/include/sta/Sta.hh @@ -542,7 +542,7 @@ public: ClockSet *to_clks, InstanceSet *to_insts, const RiseFallBoth *rf, - RiseFallBoth *end_rf); + const RiseFallBoth *end_rf); void checkExceptionToPins(ExceptionTo *to, const char *file, int) const; void deleteExceptionTo(ExceptionTo *to); diff --git a/search/Sta.cc b/search/Sta.cc index 14ddc15e..75035545 100644 --- a/search/Sta.cc +++ b/search/Sta.cc @@ -2073,7 +2073,7 @@ Sta::makeExceptionTo(PinSet *to_pins, ClockSet *to_clks, InstanceSet *to_insts, const RiseFallBoth *rf, - RiseFallBoth *end_rf) + const RiseFallBoth *end_rf) { return sdc_->makeExceptionTo(to_pins, to_clks, to_insts, rf, end_rf); } diff --git a/search/TagGroup.cc b/search/TagGroup.cc index c7570937..dfd1fc74 100644 --- a/search/TagGroup.cc +++ b/search/TagGroup.cc @@ -84,7 +84,7 @@ TagGroup::hasTag(Tag *tag) const size_t TagGroup::pathIndex(Tag *tag) const { - size_t path_index; + size_t path_index = 0; bool exists; pathIndex(tag, path_index, exists); return path_index;