From: Thomas Graf Date: Wed, 13 Jun 2012 22:34:03 +0000 (+0000) Subject: dcbnl: Silence harmless gcc warning about uninitialized reply_nlh X-Git-Tag: v3.6-rc1~125^2~538 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=39912f9cf9603f0de085fb5ba916a7a88010ccd9;p=platform%2Fupstream%2Fkernel-adaptation-pc.git dcbnl: Silence harmless gcc warning about uninitialized reply_nlh Signed-off-by: Thomas Graf Signed-off-by: David S. Miller --- diff --git a/net/dcb/dcbnl.c b/net/dcb/dcbnl.c index 70bba3e..da6ee81 100644 --- a/net/dcb/dcbnl.c +++ b/net/dcb/dcbnl.c @@ -1664,7 +1664,7 @@ static int dcb_doit(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg) u32 pid = skb ? NETLINK_CB(skb).pid : 0; int ret = -EINVAL; struct sk_buff *reply_skb; - struct nlmsghdr *reply_nlh; + struct nlmsghdr *reply_nlh = NULL; const struct reply_func *fn; if (!net_eq(net, &init_net))