From cfc491f7d1ee8a613405848d018773328600c7ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Wed, 15 Aug 2018 16:11:27 +0200 Subject: [PATCH] core: remove unneeded initialization of variable "highlight" --- src/gui/gui-line.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gui/gui-line.c b/src/gui/gui-line.c index 4d4983121..1b952b1c2 100644 --- a/src/gui/gui-line.c +++ b/src/gui/gui-line.c @@ -1241,8 +1241,6 @@ gui_line_get_highlight (struct t_gui_line *line) int highlight, *max_notify_level; const char *nick; - highlight = 0; - if (line->data->notify_level == GUI_HOTLIST_HIGHLIGHT) { highlight = 1;