Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2001 12:53:06 +0000
From:      Ben Smithurst <csxbcs@comp.leeds.ac.uk>
To:        Jonathon McKitrick <jcm@shellyeah.org>
Cc:        Stephen McKay <mckay@thehub.com.au>, j mckitrick <jcm@FreeBSD-uk.eu.org>, chat@freebsd.org
Subject:   Re: silly C style question
Message-ID:  <20010124125306.C1491@comp.leeds.ac.uk>
In-Reply-To: <Pine.GSO.4.21.0101230810290.7653-100000@zippy.shellyeah.org>
References:  <200101231023.f0NANZI18506@dungeon.home> <Pine.GSO.4.21.0101230810290.7653-100000@zippy.shellyeah.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Jonathon McKitrick wrote:

> if (i = 0)
> 
> generates a bug.

Only if you're too stupid to be able to read the warning that produces
with appropriate -W flags (just -Wall I think, which quite frankly
should default to on).

-- 
Ben Smithurst / csxbcs@comp.leeds.ac.uk / ben@FreeBSD.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message




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