Re: [PATCH] kconfig: plug false-positive warning in get_prompt_str() seen with gcc-4.9

2014-06-23 Thread David Rientjes
On Mon, 23 Jun 2014, Uwe Kleine-König wrote: > > scripts/kconfig/menu.c: In function ‘get_symbol_str’: > > scripts/kconfig/menu.c:590:18: warning: ‘jump’ may be used uninitialized in > > this function [-Wmaybe-uninitialized] > > jump->offset = strlen(r->s); > > ^ > > script

Re: [PATCH] kconfig: plug false-positive warning in get_prompt_str() seen with gcc-4.9

2014-06-22 Thread Uwe Kleine-König
Hello, On Sun, May 25, 2014 at 08:47:51PM +0400, Konstantin Khlebnikov wrote: > scripts/kconfig/menu.c: In function ‘get_symbol_str’: > scripts/kconfig/menu.c:590:18: warning: ‘jump’ may be used uninitialized in > this function [-Wmaybe-uninitialized] > jump->offset = strlen(r->s); >

Re: [PATCH] kconfig: plug false-positive warning in get_prompt_str() seen with gcc-4.9

2014-05-25 Thread Kirill A. Shutemov
On Sun, May 25, 2014 at 08:47:51PM +0400, Konstantin Khlebnikov wrote: > scripts/kconfig/menu.c: In function ‘get_symbol_str’: > scripts/kconfig/menu.c:590:18: warning: ‘jump’ may be used uninitialized in > this function [-Wmaybe-uninitialized] > jump->offset = strlen(r->s); >

[PATCH] kconfig: plug false-positive warning in get_prompt_str() seen with gcc-4.9

2014-05-25 Thread Konstantin Khlebnikov
scripts/kconfig/menu.c: In function ‘get_symbol_str’: scripts/kconfig/menu.c:590:18: warning: ‘jump’ may be used uninitialized in this function [-Wmaybe-uninitialized] jump->offset = strlen(r->s); ^ scripts/kconfig/menu.c:551:19: note: ‘jump’ was declared here struct jump_