1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

core: remove dead assignment in function gui_chat_printf_y

This commit is contained in:
Sebastien Helleu
2014-02-22 13:39:52 +01:00
parent 4a9e1c98d2
commit 7191114104
-1
View File
@@ -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