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 /samples/kfifo | |
parent | a1e7b7bb1ab5bf3498eacc2d22beb56dac1d4e08 (diff) | |
download | blackbird-op-linux-2d560306096739e2251329ab5c16059311a151b0.tar.gz blackbird-op-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 'samples/kfifo')
0 files changed, 0 insertions, 0 deletions