From: jsg Date: Mon, 19 Aug 2024 08:07:16 +0000 (+0000) Subject: avoid uninitialised var use introduced in rev 1.63 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b6da9889d28572532aad9484adda51c5bfae8865;p=openbsd avoid uninitialised var use introduced in rev 1.63 found by smatch, ok bluhm@ --- diff --git a/sys/netinet6/mld6.c b/sys/netinet6/mld6.c index 61ff4274c79..3efb7a9694e 100644 --- a/sys/netinet6/mld6.c +++ b/sys/netinet6/mld6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mld6.c,v 1.63 2024/08/12 11:25:27 bluhm Exp $ */ +/* $OpenBSD: mld6.c,v 1.64 2024/08/19 08:07:16 jsg Exp $ */ /* $KAME: mld6.c,v 1.26 2001/02/16 14:50:35 itojun Exp $ */ /* @@ -344,7 +344,7 @@ void mld6_fasttimeo(void) { struct ifnet *ifp; - int running; + int running = 0; /* * Quick check to see if any work needs to be done, in order