From: Samuel Ortiz Date: Fri, 17 Jun 2011 01:37:23 +0000 (+0200) Subject: netlink: Fix warning X-Git-Tag: 0.1~137 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=00d36ec6ad945326c6bcbb0f4d1aa60312625fef;p=platform%2Fupstream%2Fneard.git netlink: Fix warning --- diff --git a/src/netlink.c b/src/netlink.c index fa19758..59f9774 100644 --- a/src/netlink.c +++ b/src/netlink.c @@ -452,7 +452,7 @@ static int nl_get_multicast_id(struct nl_sock *sock, const char *family, const char *group) { struct nl_msg *msg; - int err, ctrlid; + int err = 0, ctrlid; struct handler_args grp = { .group = group, .id = -ENOENT,