summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-08-15 16:11:27 +0200
committerSébastien Helleu <flashcode@flashtux.org>2018-08-15 16:11:27 +0200
commitcfc491f7d1ee8a613405848d018773328600c7ec (patch)
treec4b26178c3a8380efad18dd77d40672a84931f3e /src
parenteb64c8d65c5ce0e6d2964d93cded7feab08c7462 (diff)
downloadweechat-cfc491f7d1ee8a613405848d018773328600c7ec.zip
core: remove unneeded initialization of variable "highlight"
Diffstat (limited to 'src')
-rw-r--r--src/gui/gui-line.c2
1 files changed, 0 insertions, 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;