diff options
author | Peter Kümmel <syntheticpp@gmx.net> | 2014-11-04 12:01:59 +0100 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2014-11-28 14:39:13 +0100 |
commit | 2d560306096739e2251329ab5c16059311a151b0 (patch) | |
tree | 9e01f1065210a9827f707c824cb3c12823117761 /.mailmap | |
parent | Makefile: sort list of defconfig targets in make help output (diff) | |
download | linux-2d560306096739e2251329ab5c16059311a151b0.tar.xz linux-2d560306096739e2251329ab5c16059311a151b0.zip |
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>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions