[U-Boot] [PATCH 04/12] drivers/net/enc28j60.c: Fix GCC 4.6 warnings
Mike Frysinger
vapier at gentoo.org
Wed Nov 16 16:58:56 CET 2011
On Tuesday 15 November 2011 18:20:55 Anatolij Gustschin wrote:
> - eir_reg = enc_r8(enc, CTL_REG_EIR);
> + (void)enc_r8(enc, CTL_REG_EIR);
is that (void) actually necessary ? last i looked, gcc didn't actually care.
which means you should drop the (void).
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20111116/fd856c76/attachment.pgp
More information about the U-Boot
mailing list