From owner-freebsd-bugs Wed Jul 28 0:43:40 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.26.10.9]) by hub.freebsd.org (Postfix) with ESMTP id D5E6A15442 for ; Wed, 28 Jul 1999 00:43:35 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id RAA11212; Wed, 28 Jul 1999 17:42:59 +1000 Date: Wed, 28 Jul 1999 17:42:59 +1000 From: Bruce Evans Message-Id: <199907280742.RAA11212@godzilla.zeta.org.au> To: hibma@skylink.it, wollman@khavrinen.lcs.mit.edu Subject: Re: kern/12729: Missing function pointer initialization in Network code Cc: freebsd-bugs@FreeBSD.ORG Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >> > However I was unable to determine where this pointer is being >> > initialized. >> >> Precisely there. It is a declaration of a variable with static >> lifetime. Please read ISO 9899 (or at least K&R II). > >For clarities sake I do think it is a good point in having explicit >initialisations. You mean for clutters sake. Anyway, the PR was really about why this pointer is not changed from its initial value of 0. That is because it is dead code (added in rev.1.46, removed in rev.1.117). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message