From: Guus Sliepen Date: Mon, 12 Jul 2021 19:55:38 +0000 (+0200) Subject: Fix a compiler warning. X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=56ca6f187bb01507d1588e4de25eeefaea1b4c3f;p=meshlink-tiny Fix a compiler warning. --- 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) {