From 0a84aa8d50bc20d6fbbcdaf450cfef8ae65218ab Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 18 Jul 2011 08:25:27 +0200 Subject: [PATCH] remove unused but set variable to fix a compiler warning --- ucimap.c | 2 -- 1 file changed, 2 deletions(-) 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; -- 2.30.2