lkml.org 
[lkml]   [2019]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] net: ipv4: fib_semantics: fix uninitialized variable
From
From: "Enrico Weigelt, metux IT consult" <info@metux.net>
Date: Thu, 6 Jun 2019 16:43:17 +0200

> From: Enrico Weigelt <info@metux.net>
>
> 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: Enrico Weigelt <info@metux.net>

Applied.

\
 
 \ /
  Last update: 2019-06-09 21:49    [W:0.067 / U:66.668 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site