grid: remove commented out code

This commit is contained in:
Daniel Eklöf 2019-08-23 20:07:27 +02:00
parent 0a40a5b6a2
commit 0c90717249
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

7
grid.c
View file

@ -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 *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_b] = a;
}