From 85320f3c5c51c2780f1d33866c931de1739b01ce Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 23 Jan 2008 15:49:27 +0100 Subject: [PATCH] remove more useless stuff --- file.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/file.c b/file.c index 2ca7fce..36ef346 100644 --- a/file.c +++ b/file.c @@ -413,7 +413,7 @@ static void uci_parse_line(struct uci_context *ctx) */ static char *uci_escape(struct uci_context *ctx, char *str) { - char *s, *p, *t; + char *s, *p; int pos = 0; if (!ctx->buf) { @@ -535,9 +535,6 @@ int uci_load(struct uci_context *ctx, const char *name, struct uci_package **pac UCI_HANDLE_ERR(ctx); UCI_ASSERT(ctx, name != NULL); -ignore: - ctx->errno = 0; - switch (name[0]) { case '.': case '/': -- 2.41.1