Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jul 1999 17:42:59 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        hibma@skylink.it, wollman@khavrinen.lcs.mit.edu
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: kern/12729: Missing function pointer initialization in Network code
Message-ID:  <199907280742.RAA11212@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>
>>  > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907280742.RAA11212>