From: Vsevolod Stakhov Date: Fri, 15 Mar 2024 13:25:27 +0000 (+0000) Subject: [Minor] Fix irrelevant issue with the `getline` invocation X-Git-Tag: 3.9.0~93^2~6 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=edc43a68f72319d9f09d90738dbe248369d6f377;p=rspamd.git [Minor] Fix irrelevant issue with the `getline` invocation --- diff --git a/src/rspamadm/lua_repl.c b/src/rspamadm/lua_repl.c index d3f32c9db..a3d5541fd 100644 --- a/src/rspamadm/lua_repl.c +++ b/src/rspamadm/lua_repl.c @@ -604,7 +604,7 @@ lua_syntax_highlighter(const char *str, ReplxxColor *colours, int size, void *ud static void rspamadm_lua_run_repl(lua_State *L, bool is_batch) { - gchar *input; + gchar *input = NULL; #ifdef WITH_LUA_REPL gboolean is_multiline = FALSE; GString *tb = NULL;