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-Url: http://git.lede-project.org./?a=commitdiff_plain;h=39912f9cf9603f0de085fb5ba916a7a88010ccd9;p=openwrt%2Fstaging%2Fblogic.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 70bba3eb4ae9..da6ee81ce51f 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))