]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Initialise variable
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 2 Jul 2022 13:35:53 +0000 (14:35 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 2 Jul 2022 13:35:53 +0000 (14:35 +0100)
src/lua/lua_tcp.c

index e839aba24f6e83b4665d8fd6d86a9e6dc3929aa1..6391e4e11719a5a42be5efa13014e37811ad1e54 100644 (file)
@@ -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;