Thread (4 messages) 4 messages, 2 authors, 2011-04-18
STALE5641d

[PATCH 0/1] ppc64: fix build error when compiling with gcc-4.6.0

From: Stratos Psomadakis <hidden>
Date: 2011-04-18 16:48:44
Also in: lkml

The build error was reported at the Gentoo Bugzilla [1].

When compiling with gcc-4.6.0, a build error occurs: 
"variable ‘old’ set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors"

This patch removes the unnecessary assignments to the variable, which cause
the compiler warning (used but not set), and build failure, and removes it
completely.

I think it's ok to do that, since the variable wasn't actually used anywhere
inside those two functions that caused the warning. Right?

[1] https://bugs.gentoo.org/show_bug.cgi?id=363935
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help