diff options
author | Richard Henderson <rth@twiddle.net> | 2005-07-28 04:07:41 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-28 11:39:02 -0400 |
commit | 79a8810221ee9ea96c4e5a5817afb88f22ea698c (patch) | |
tree | 7e2c09f335ac6e51e6bad2299c3f9da4132d34c9 /drivers | |
parent | 11be00cba6be114f861123cfc6779f195a615d22 (diff) |
[PATCH] alpha: fix "statement with no effect" warnings
Apparently gcc 4.0 complains about "({ 0; });", which leads to -Werror
breakage in one of the alpha oprofile modules.
One might could argue that this is a gcc bug, in that statement-expressions
should be considered to be function-like rather than statement-like for the
purposes of this warning. But it's just as easy to use an inline function
in the first place, side-stepping the issue.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions