aboutsummaryrefslogtreecommitdiff
path: root/net/sysctl_net.c
diff options
context:
space:
mode:
authorPeter Kümmel2014-11-04 12:01:59 +0100
committerMichal Marek2014-11-28 14:39:13 +0100
commit2d560306096739e2251329ab5c16059311a151b0 (patch)
tree9e01f1065210a9827f707c824cb3c12823117761 /net/sysctl_net.c
parenta1e7b7bb1ab5bf3498eacc2d22beb56dac1d4e08 (diff)
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 'net/sysctl_net.c')
0 files changed, 0 insertions, 0 deletions