From 84e869eb4b74363b86c1da364e7063a82bc9375b Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 2 Jul 2022 14:35:53 +0100 Subject: [PATCH] [Minor] Initialise variable --- src/lua/lua_tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua/lua_tcp.c b/src/lua/lua_tcp.c index e839aba24..6391e4e11 100644 --- a/src/lua/lua_tcp.c +++ b/src/lua/lua_tcp.c @@ -1487,7 +1487,7 @@ lua_tcp_request (lua_State *L) struct rspamd_task *task = NULL; struct rspamd_config *cfg = NULL; struct iovec *iov = NULL; - struct upstream *up; + struct upstream *up = NULL; guint niov = 0, total_out; guint64 h; gdouble timeout = default_tcp_timeout; -- 2.39.5