From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Wed, 16 Nov 2011 10:58:56 -0500 Subject: [U-Boot] [PATCH 04/12] drivers/net/enc28j60.c: Fix GCC 4.6 warnings In-Reply-To: <1321399263-13826-5-git-send-email-agust@denx.de> References: <1321399263-13826-1-git-send-email-agust@denx.de> <1321399263-13826-5-git-send-email-agust@denx.de> Message-ID: <201111161058.57150.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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