config: remove unused variable (fix cc error)
authorSteven Barth <steven@midlink.org>
Fri, 7 Oct 2011 18:01:44 +0000 (20:01 +0200)
committerSteven Barth <steven@midlink.org>
Fri, 7 Oct 2011 18:01:44 +0000 (20:01 +0200)
config.c

index 6f8d3b7c50876b30245cc97db2c01b8431380f65..c8f780797336b86607577c677cbcddea1e1c75a7 100644 (file)
--- 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;