summaryrefslogtreecommitdiffhomepage
path: root/interface.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-04-15 00:06:18 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-04-15 00:06:18 +0200
commitfd4efb1bbfe5a502a802f43871cfae9944c8d75f (patch)
tree42fcc4e4399761c44bddd2fb5be6bd8cfe8d9877 /interface.c
parent389ea223853184930a21ceb6738ab5cea496723e (diff)
fix a compiler warning
Diffstat (limited to 'interface.c')
-rw-r--r--interface.c2
1 files changed, 1 insertions, 1 deletions
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) {