Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Dec 1995 03:38:12 -0800
From:      asami@cs.berkeley.edu (Satoshi Asami)
To:        davidg@Root.COM
Cc:        gavin@spider.co.uk, freebsd-bugs@freebsd.org
Subject:   Re: Problem of '=' instead of '==' in if_ed.c version 1.87
Message-ID:  <199512031138.DAA00798@silvia.HIP.Berkeley.EDU>
In-Reply-To: <199511221743.JAA00412@corbin.Root.COM> (message from David Greenman on Wed, 22 Nov 1995 09:43:14 -0800)

next in thread | previous in thread | raw e-mail | index | archive | help
 * >		if (sc->type = ED_TYPE_SMC8216C) {
 * >		if (sc->type == ED_TYPE_SMC8216C) {

 *    Yikes! That slipped past my review. Fortunately the effect of this is only

Doesn't gcc catch this (well warn about it anyway) sort of thing with 
-Wall (or -Wparentheses to be more exact)?  I've found this feature
extremely helpful....

Satoshi



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