On Wednesday, August 24, 2011 14:29:43 Kumar Gala wrote: > We get a bunch of warnings like this with gcc-4.6.x: > > e1000.c:4334:3: warning: variable 'x' set but not used > [-Wunused-but-set-variable] > > Are we get with adding -Wunused-but-set-variable so they don't show up?
in general, i like this new warning as it tends to catch variables that are dead. i wonder why the e1000 driver has this indirection in the first place. simply calling readl() without using the return value shouldnt cause warnings or DCE ... -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot