Skip to content

Commit 2768b30

Browse files
committed
vpr: fix formatting
1 parent 7ddb5ae commit 2768b30

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

vpr/src/draw/draw.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,9 @@ void init_graphics_state(bool show_graphics_val, int gr_automode_val, enum e_rou
220220
draw_state->gr_automode = gr_automode_val;
221221
draw_state->draw_route_type = route_type;
222222
#else
223-
(void) show_graphics_val;
224-
(void) gr_automode_val;
225-
(void) route_type;
223+
(void)show_graphics_val;
224+
(void)gr_automode_val;
225+
(void)route_type;
226226
#endif // NO_GRAPHICS
227227
}
228228

@@ -784,7 +784,7 @@ void init_draw_coords(float width_val) {
784784

785785
initial_world = ezgl::rectangle({-VISIBLE_MARGIN * draw_width, -VISIBLE_MARGIN * draw_height}, {(1. + VISIBLE_MARGIN) * draw_width, (1. + VISIBLE_MARGIN) * draw_height});
786786
#else
787-
(void) width_val;
787+
(void)width_val;
788788
#endif /* NO_GRAPHICS */
789789
}
790790

vpr/src/draw/draw.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ void alloc_draw_structs(const t_arch* arch);
3030

3131
#ifndef NO_GRAPHICS
3232

33-
3433
void free_draw_structs();
3534

3635
void draw_get_rr_pin_coords(int inode, float* xcen, float* ycen);

0 commit comments

Comments
 (0)