From 73e1a392c5998e3e15b5942f5c1b8b22ec7abb08 Mon Sep 17 00:00:00 2001 From: James Cherry Date: Mon, 2 Mar 2026 16:47:40 -0800 Subject: [PATCH] rm unused Sta::report functions Signed-off-by: James Cherry --- include/sta/Sta.hh | 10 ---------- search/Search.i | 20 -------------------- search/Sta.cc | 20 -------------------- 3 files changed, 50 deletions(-) diff --git a/include/sta/Sta.hh b/include/sta/Sta.hh index 718f97ae..5bc48f70 100644 --- a/include/sta/Sta.hh +++ b/include/sta/Sta.hh @@ -988,16 +988,6 @@ public: void setReportPathDigits(int digits); void setReportPathNoSplit(bool no_split); void setReportPathSigmas(bool report_sigmas); - // Header above reportPathEnd results. - void reportPathEndHeader(); - // Footer below reportPathEnd results. - void reportPathEndFooter(); - // Format report_path_endpoint only: - // Previous path end is used to detect path group changes - // so headers are reported by group. - void reportPathEnd(PathEnd *end, - PathEnd *prev_end, - bool last); void reportPathEnd(PathEnd *end); void reportPathEnds(PathEndSeq *ends); ReportPath *reportPath() { return report_path_; } diff --git a/search/Search.i b/search/Search.i index 550f1b00..8ffff0ff 100644 --- a/search/Search.i +++ b/search/Search.i @@ -382,32 +382,12 @@ find_path_ends(ExceptionFrom *from, //////////////////////////////////////////////////////////////// -void -report_path_end_header() -{ - Sta::sta()->reportPathEndHeader(); -} - -void -report_path_end_footer() -{ - Sta::sta()->reportPathEndFooter(); -} - void report_path_end(PathEnd *end) { Sta::sta()->reportPathEnd(end); } -void -report_path_end2(PathEnd *end, - PathEnd *prev_end, - bool last) -{ - Sta::sta()->reportPathEnd(end, prev_end, last); -} - void set_report_path_format(ReportPathFormat format) { diff --git a/search/Sta.cc b/search/Sta.cc index 2d91a4f4..7899a110 100644 --- a/search/Sta.cc +++ b/search/Sta.cc @@ -2772,32 +2772,12 @@ Sta::setReportPathSigmas(bool report_sigmas) report_path_->setReportSigmas(report_sigmas); } -void -Sta::reportPathEndHeader() -{ - report_path_->reportPathEndHeader(); -} - -void -Sta::reportPathEndFooter() -{ - report_path_->reportPathEndFooter(); -} - void Sta::reportPathEnd(PathEnd *end) { report_path_->reportPathEnd(end); } -void -Sta::reportPathEnd(PathEnd *end, - PathEnd *prev_end, - bool last) -{ - report_path_->reportPathEnd(end, prev_end, last); -} - void Sta::reportPathEnds(PathEndSeq *ends) {