From: Felix Fietkau Date: Mon, 18 Jul 2011 06:25:27 +0000 (+0200) Subject: remove unused but set variable to fix a compiler warning X-Git-Url: http://git.archive.openwrt.org/?a=commitdiff_plain;h=0a84aa8d50bc20d6fbbcdaf450cfef8ae65218ab;p=project%2Fuci.git remove unused but set variable to fix a compiler warning --- diff --git a/ucimap.c b/ucimap.c index 7c4fb02..33c2548 100644 --- a/ucimap.c +++ b/ucimap.c @@ -207,7 +207,6 @@ static bool ucimap_handle_fixup(struct uci_map *map, struct ucimap_fixup *f) { void *ptr = ucimap_find_section(map, f); - struct ucimap_list *list; union ucimap_data *data; if (!ptr) @@ -218,7 +217,6 @@ ucimap_handle_fixup(struct uci_map *map, struct ucimap_fixup *f) f->data->ptr = ptr; break; case UCIMAP_LIST: - list = f->data->list; data = ucimap_list_append(f->data->list); if (!data) return false;