Skip to content
Commit c3fee640 authored by Enrico Weigelt's avatar Enrico Weigelt Committed by David S. Miller
Browse files

net: ipv4: fib_semantics: fix uninitialized variable



fix an uninitialized variable:

  CC      net/ipv4/fib_semantics.o
net/ipv4/fib_semantics.c: In function 'fib_check_nh_v4_gw':
net/ipv4/fib_semantics.c:1027:12: warning: 'err' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if (!tbl || err) {
            ^~

Signed-off-by: default avatarEnrico Weigelt <info@metux.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 38e406f6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment