[OpenWrt-Devel] [PATCH v2 01/16] Fix a few style issues.

Yousong Zhou yszhou4tech at gmail.com
Tue Dec 16 02:00:03 EST 2014


 - Remove deprecated uci-static and ucimap-example from .gitignore.
 - Minor code formatting fix.

Signed-off-by: Yousong Zhou <yszhou4tech at gmail.com>
---
 .gitignore |    2 --
 file.c     |    2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/.gitignore b/.gitignore
index c3e50e0..0407feb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,7 +9,5 @@ CMakeFiles
 install_manifest.txt
 
 uci
-uci-static
-ucimap-example
 uci_config.h
 test/save
diff --git a/file.c b/file.c
index ffa3afa..63ca919 100644
--- a/file.c
+++ b/file.c
@@ -246,7 +246,7 @@ static char *next_arg(struct uci_context *ctx, bool required, bool name)
 
 	skip_whitespace(ctx);
 	val = ptr = pctx_pos(pctx);
-	if(pctx_cur_char(pctx) == ';') {
+	if (pctx_cur_char(pctx) == ';') {
 		pctx_cur_char(pctx) = 0;
 		pctx->pos += 1;
 	} else {
-- 
1.7.10.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list