Re: [U-Boot] [PATCH] cmd_nand: Fix possible uninited max_size variable

2012-03-26 Thread Marek Vasut
Dear Scott Wood, > On 03/23/2012 06:27 PM, Marek Vasut wrote: > > GCC 4.7 error: > > cmd_nand.c: In function ‘arg_off_size’: > > cmd_nand.c:216:5: warning: ‘maxsize’ may be used uninitialized in this > > function [-Wmaybe-uninitialized] > > Yay, with a new compiler comes a new batch of false posi

Re: [U-Boot] [PATCH] cmd_nand: Fix possible uninited max_size variable

2012-03-26 Thread Scott Wood
On 03/23/2012 06:27 PM, Marek Vasut wrote: > GCC 4.7 error: > cmd_nand.c: In function ‘arg_off_size’: > cmd_nand.c:216:5: warning: ‘maxsize’ may be used uninitialized in this > function [-Wmaybe-uninitialized] Yay, with a new compiler comes a new batch of false positives. :-P I'm surprised it co

[U-Boot] [PATCH] cmd_nand: Fix possible uninited max_size variable

2012-03-23 Thread Marek Vasut
GCC 4.7 error: cmd_nand.c: In function ‘arg_off_size’: cmd_nand.c:216:5: warning: ‘maxsize’ may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: Marek Vasut Cc: Scott Wood --- common/cmd_nand.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git