From 56ca6f187bb01507d1588e4de25eeefaea1b4c3f Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Mon, 12 Jul 2021 21:55:38 +0200 Subject: [PATCH] Fix a compiler warning. --- src/net_socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net_socket.c b/src/net_socket.c index d4b6208..902cbe7 100644 --- a/src/net_socket.c +++ b/src/net_socket.c @@ -174,7 +174,7 @@ static void handle_meta_io(event_loop_t *loop, void *data, int flags) { // Build a list of recently seen addresses. static struct addrinfo *get_recent_addresses(node_t *n) { struct addrinfo *ai = NULL; - struct addrinfo *aip; + struct addrinfo *aip = NULL; for(int i = 0; i < 5; i++) { if(!n->recent[i].sa.sa_family) { -- 2.39.5