mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-09 08:21:01 -04:00
grid: remove commented out code
This commit is contained in:
parent
0a40a5b6a2
commit
0c90717249
1 changed files with 1 additions and 6 deletions
7
grid.c
7
grid.c
|
|
@ -18,12 +18,7 @@ grid_swap_row(struct grid *grid, int row_a, int row_b, bool initialize)
|
||||||
|
|
||||||
struct row *a = grid->rows[real_a];
|
struct row *a = grid->rows[real_a];
|
||||||
struct row *b = grid->rows[real_b];
|
struct row *b = grid->rows[real_b];
|
||||||
#if 0
|
|
||||||
if (a == NULL)
|
|
||||||
a = grid_row_alloc(grid->num_cols, initialize);
|
|
||||||
if (b == NULL)
|
|
||||||
b = grid_row_alloc(grid->num_cols, initialize);
|
|
||||||
#endif
|
|
||||||
grid->rows[real_a] = b;
|
grid->rows[real_a] = b;
|
||||||
grid->rows[real_b] = a;
|
grid->rows[real_b] = a;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue