Skip to content

Commit

Permalink
Fix new -Wunused-but-set-variable warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
isbadawi committed Jul 15, 2024
1 parent 4ecb74d commit 516076c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions draw.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,11 +198,6 @@ static void window_get_ruler(struct window *window, char *buf, size_t buflen) {
}

static void window_draw_plate(struct window *window, struct editor *editor) {
size_t w = window_w(window);
if (window_right(window)) {
--w;
}

const char *path = editor_buffer_name(editor, window->buffer);

char plate[256];
Expand Down

0 comments on commit 516076c

Please sign in to comment.