Enable -Wshadow, clean code for that
This is not just for fun. We hit a real bug on BSD with the outl macros. The macro variable tmp collided with the tmp from outer scope. second revision, now also taking care of inb/inw/inl. While that shadowing did not introduce bugs (yet), of course it breaks the build on BSD when -Wshadow is enabled. Corresponding to flashrom svn r860. Signed-off-by:Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by:
Luc Verhaegen <libv@skynet.be>
Showing
Please register or sign in to comment