From edc43a68f72319d9f09d90738dbe248369d6f377 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 15 Mar 2024 13:25:27 +0000 Subject: [PATCH] [Minor] Fix irrelevant issue with the `getline` invocation --- src/rspamadm/lua_repl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5