From 323b60f339bd9b139bbcb9a5cd07747bc10a9b84 Mon Sep 17 00:00:00 2001 From: vague666 Date: Tue, 27 Oct 2020 09:49:54 +0100 Subject: [PATCH] Initialize tmprec --- src/fe-common/core/hilight-text.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fe-common/core/hilight-text.c b/src/fe-common/core/hilight-text.c index 4e971d75..b3247efc 100644 --- a/src/fe-common/core/hilight-text.c +++ b/src/fe-common/core/hilight-text.c @@ -248,6 +248,7 @@ HILIGHT_REC *hilight_match(SERVER_REC *server, const char *channel, int priority = -1; g_return_val_if_fail(str != NULL, NULL); + tmprec = NULL; if ((never_hilight_level & level) == level) return NULL;