On Aug 24, 2011, at 2:05 PM, Wolfgang Denk wrote: > Dear Kumar Gala, > > In message <3aa0e5b6-7e38-4cb0-94e2-f7bba9a10...@kernel.crashing.org> you > 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? > > If the variable is not used, why don't we remove it, then?
In the vast number of cases it because of some #ifdef case not be defined in the given build. - k _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot