From: Richard Henderson Date: Thu, 28 Jul 2005 08:07:41 +0000 (-0700) Subject: [PATCH] alpha: fix "statement with no effect" warnings X-Git-Tag: v2.6.13-rc4~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79a8810221ee9ea96c4e5a5817afb88f22ea698c;p=pandora-kernel.git [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 Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed