diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-03-15 13:25:27 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-03-15 13:25:27 +0000 |
commit | edc43a68f72319d9f09d90738dbe248369d6f377 (patch) | |
tree | 2d98ac1d19f9dc762626b51824e2bbfdf962018d | |
parent | 1d0ff299f57e94b297d4215fc4429c2aabbc40ba (diff) | |
download | rspamd-edc43a68f72319d9f09d90738dbe248369d6f377.tar.gz rspamd-edc43a68f72319d9f09d90738dbe248369d6f377.zip |
[Minor] Fix irrelevant issue with the `getline` invocation
-rw-r--r-- | src/rspamadm/lua_repl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |