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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user