projects
/
project
/
uci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28bce26
)
remove more useless stuff
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 23 Jan 2008 14:49:27 +0000
(15:49 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 23 Jan 2008 14:49:27 +0000
(15:49 +0100)
file.c
patch
|
blob
|
history
diff --git
a/file.c
b/file.c
index 2ca7fce4580e7cdde690396fd6877cc77b28c7ba..36ef34684539f9ea9ed5b26c20997acb777e95d8 100644
(file)
--- 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 '/':