From b6da9889d28572532aad9484adda51c5bfae8865 Mon Sep 17 00:00:00 2001 From: jsg Date: Mon, 19 Aug 2024 08:07:16 +0000 Subject: [PATCH] avoid uninitialised var use introduced in rev 1.63 found by smatch, ok bluhm@ --- sys/netinet6/mld6.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.20.1