Skip to content

Commit 2e64e8a

Browse files
fix compilation warning with no graphics
1 parent ad7d6cb commit 2e64e8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpr/src/draw/draw.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ void init_draw_coords(float clb_width, const BlkLocRegistry& blk_loc_registry) {
638638
{(1. + VISIBLE_MARGIN) * draw_width, (1. + VISIBLE_MARGIN)
639639
* draw_height});
640640
#else
641-
(void)width_val;
641+
(void)clb_width;
642642
(void)blk_loc_registry;
643643
#endif /* NO_GRAPHICS */
644644
}

0 commit comments

Comments
 (0)