summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-09-04 15:30:34 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-09-04 15:31:08 +0200
commitfeec10d799b5a2e1d591102cf966344238818480 (patch)
tree9dc0ce6e1ab7f2b4274566165f89138ea679b624 /config.c
parent4e335f640fadda81aff9dd2dc06703961bea2826 (diff)
downloadnetifd-feec10d799b5a2e1d591102cf966344238818480.tar.gz
fix compiler warnings
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index 2e00364..a8796af 100644
--- a/config.c
+++ b/config.c
@@ -73,7 +73,7 @@ static void uci_array_to_blob(struct blob_buf *b, struct uci_option *o,
static void __uci_to_blob(struct blob_buf *b, struct uci_section *s,
const struct config_param_list *p)
{
- const struct blobmsg_policy *attr;
+ const struct blobmsg_policy *attr = NULL;
struct uci_element *e;
struct uci_option *o;
void *array;