Skip to content

Commit b4edbb1

Browse files
dpl: fix unused variable warning in detailed_manager
Resolves clang-diagnostic-unused-variable warning by removing unused 'new_x' and 'new_y' variables in DetailedMgr::tryMove3. Related to #8008 Signed-off-by: Jorge Ferreira <[email protected]>
1 parent 913a6da commit b4edbb1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/dpl/src/optimization/detailed_manager.cxx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2657,9 +2657,6 @@ bool DetailedMgr::tryMove3(Node* ndi,
26572657
old_segs.push_back(seg->getSegId());
26582658
}
26592659

2660-
// Check if the site orientation is available at the new position
2661-
const DbuX new_x = xj;
2662-
const DbuY new_y = arch_->getRow(rb)->getBottom();
26632660
if (!addToMoveList(ndi,
26642661
ndi->getLeft(),
26652662
ndi->getBottom(),

0 commit comments

Comments
 (0)