From: Felix Fietkau Date: Thu, 14 Apr 2011 22:06:18 +0000 (+0200) Subject: fix a compiler warning X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=commitdiff_plain;h=fd4efb1bbfe5a502a802f43871cfae9944c8d75f;hp=389ea223853184930a21ceb6738ab5cea496723e 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) {