From 71911141046b341be0006a34c1d0b5fdcf308f2e Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sat, 22 Feb 2014 13:39:52 +0100 Subject: [PATCH] core: remove dead assignment in function gui_chat_printf_y --- src/gui/gui-chat.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gui/gui-chat.c b/src/gui/gui-chat.c index 335e7c5cc..e9f078717 100644 --- a/src/gui/gui-chat.c +++ b/src/gui/gui-chat.c @@ -885,7 +885,6 @@ gui_chat_printf_y (struct t_gui_buffer *buffer, int y, const char *message, ...) { if (gui_init_ok) { - num_lines_to_add = 0; if (buffer->own_lines && buffer->own_lines->last_line) num_lines_to_add = y - buffer->own_lines->last_line->data->y - 1; else