u-boot-brain/scripts/kconfig
Peter Kümmel 60cd06e13c kconfig: Fix warning "‘jump’ may be used uninitialized"
Warning:
In file included from scripts/kconfig/zconf.tab.c:2537:0:
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);

Simplifies the test logic because (head && local) means (jump != 0)
and makes GCC happy when checking if the jump pointer was initialized.

Signed-off-by: Peter Kümmel <syntheticpp@gmx.net>
Signed-off-by: Michal Marek <mmarek@suse.cz>
[ imported from Linux Kernel, commit 2d5603060967 ]
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
2014-12-08 09:35:48 -05:00
..
lxdialog kbuild: Make scripts executable 2014-11-12 13:25:42 -05:00
.gitignore
check.sh
conf.c
confdata.c kconfig: switch to Kconfig 2014-07-30 08:48:03 -04:00
expr.c
expr.h
gconf.c
gconf.glade
images.c
kxgettext.c
list.h
lkc_proto.h
lkc.h
Makefile kconfig: sync kconfig files with Linux 3.18-rc1 2014-11-07 16:27:07 -05:00
mconf.c
menu.c kconfig: Fix warning "‘jump’ may be used uninitialized" 2014-12-08 09:35:48 -05:00
merge_config.sh Correct two non-functional misspellings "overrided". 2014-10-27 17:54:11 -04:00
nconf.c
nconf.gui.c
nconf.h
POTFILES.in
qconf.cc
qconf.h
streamline_config.pl kbuild: Make scripts executable 2014-11-12 13:25:42 -05:00
symbol.c
util.c
zconf.gperf
zconf.hash.c_shipped
zconf.l
zconf.lex.c_shipped
zconf.tab.c_shipped
zconf.y