nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] too many uninitialized variables in nmh-1.1 RC4

2005-11-25 18:26:22
On Thu, 24 Nov 2005 11:11:50 PST, Norman Shapiro said:

I often have a manfiest constant WHO_CARES,

#define WHO_CARES (void*)012345

#define WHO_CARES 0xdeadbeef

int foo = WHO_CARES;

Has the advantage that if you *do* make it through the code without actually
setting a known good value, you'll probably get a SIGSEGV or other blatantly
obvious indication that things have gone very very awry. '12345' doesn't always
do that for you....

Attachment: pgpBTx9V0dmOl.pgp
Description: PGP signature

_______________________________________________
Nmh-workers mailing list
Nmh-workers@nongnu.org
http://lists.nongnu.org/mailman/listinfo/nmh-workers
<Prev in Thread] Current Thread [Next in Thread>