From: Felix Fietkau Date: Thu, 14 Apr 2011 22:06:18 +0000 (+0200) Subject: fix a compiler warning X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=fd4efb1bbfe5a502a802f43871cfae9944c8d75f;p=project%2Fnetifd.git fix a compiler warning --- diff --git a/interface.c b/interface.c index ef176f6..0576166 100644 --- a/interface.c +++ b/interface.c @@ -26,7 +26,7 @@ void interface_add_error(struct interface *iface, const char *subsystem, { struct interface_error *error; int i, len = 0; - int *datalen; + int *datalen = NULL; char *dest; if (n_data) {