Files
linux/scripts/kconfig
Peter Kümmel 8749d44281 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.

Change-Id: I8e452c9ba33e58d92d613fe167a16af54016c172
Signed-off-by: Peter Kümmel <syntheticpp@gmx.net>
Signed-off-by: Michal Marek <mmarek@suse.cz>
2016-03-16 10:46:41 +09:00
..
2012-10-03 09:03:24 +02:00
2005-04-16 15:20:36 -07:00
2013-04-29 19:55:56 +02:00
2011-06-09 14:04:45 -04:00
2012-11-20 12:12:57 +01:00