Messages in this thread | | | Date | Thu, 5 Apr 2012 10:57:55 +0100 | From | Mark Brown <> | Subject | Re: [PATCH] mfd: Silence uninitialized variable warning for wm8994-core |
| |
On Thu, Apr 05, 2012 at 11:49:12AM +0800, Axel Lin wrote:
> - int ret, i, patch_regs; > + int ret, i, patch_regs = 0;
This just unconditionally squashes any possible warnings from this which isn't great. If we're going to work around flow analysis bugs like this it's better to do it by doing something like adding an assignment in the paths that GCC isn't figuring out than by just squashing everything. [unhandled content-type:application/pgp-signature] | |