summaryrefslogtreecommitdiffhomepage
path: root/config.c
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2011-10-07 20:01:44 +0200
committerSteven Barth <steven@midlink.org>2011-10-07 20:01:44 +0200
commitac95c5179ee5f50d97b4262a4fd0fe41db395d54 (patch)
tree7603ac41cfb4f4aa5b26dfc706c33eb91a2e42f0 /config.c
parent8b6073c6500d4e655e7020c6a50b6e847037a00c (diff)
config: remove unused variable (fix cc error)
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 0 insertions, 2 deletions
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;