summaryrefslogtreecommitdiff
path: root/src/gui/gui-chat.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2014-02-22 13:39:52 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-02-22 13:39:52 +0100
commit71911141046b341be0006a34c1d0b5fdcf308f2e (patch)
tree43072130a3d1ae8c38db70b2df7bfcb6afab9eb1 /src/gui/gui-chat.c
parent4a9e1c98d27dea1a0c0d3ddae589d751d7d69727 (diff)
downloadweechat-71911141046b341be0006a34c1d0b5fdcf308f2e.zip
core: remove dead assignment in function gui_chat_printf_y
Diffstat (limited to 'src/gui/gui-chat.c')
-rw-r--r--src/gui/gui-chat.c1
1 files changed, 0 insertions, 1 deletions
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