Skip to content

Commit a3a6ee5

Browse files
[Warnings] Removed Unused Variables When Capnproto is Disabled
A few variables were left unused when CAPNPROTO was disabled which were giving warnings on the CI. Commented these unused variables out.
1 parent c1c1e3d commit a3a6ee5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vpr/src/route/router_lookahead_extended_map.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -606,10 +606,10 @@ float ExtendedMapLookahead::get_expected_cost(
606606

607607
#ifndef VTR_ENABLE_CAPNPROTO
608608

609-
void ExtendedMapLookahead::read(const std::string& file) {
609+
void ExtendedMapLookahead::read(const std::string& /*file*/) {
610610
VPR_THROW(VPR_ERROR_ROUTE, "MapLookahead::read not implemented");
611611
}
612-
void ExtendedMapLookahead::write(const std::string& file) const {
612+
void ExtendedMapLookahead::write(const std::string& /*file*/) const {
613613
VPR_THROW(VPR_ERROR_ROUTE, "MapLookahead::write not implemented");
614614
}
615615

0 commit comments

Comments
 (0)