On Thursday, August 25, 2011 10:27:42 Kumar Gala wrote: > On Aug 25, 2011, at 12:52 AM, Wolfgang Denk wrote: > > Kumar Gala wrote: > >>> 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. > > > > well, that's the reason for the warnings showing up, it isn't the > > reason why we cannot fix these? > : > :), Thus my query if we really wanted to try and fix them by adding more > :#ifdef's or live with that as an acceptable thing to do.
i feel like some (many?) #ifdef's in the tree could be done without ifdefs (by relying on gcc's DCE) thus improving overall code quality -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