From: Steven Barth Date: Fri, 7 Oct 2011 18:01:44 +0000 (+0200) Subject: config: remove unused variable (fix cc error) X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=commitdiff_plain;h=ac95c5179ee5f50d97b4262a4fd0fe41db395d54;ds=sidebyside config: remove unused variable (fix cc error) --- diff --git a/config.c b/config.c index 6f8d3b7..c8f7807 100644 --- a/config.c +++ b/config.c @@ -315,12 +315,10 @@ config_init_package(const char *config) void config_init_interfaces(const char *name) { - struct uci_context *ctx; struct uci_package *p = NULL; struct uci_element *e; p = config_init_package("network"); - ctx = uci_ctx; if (!p) { fprintf(stderr, "Failed to load network config\n"); return;