Browse Source

Fix a few style issues.

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

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Yousong Zhou 5 years ago
parent
commit
9167f11f00
2 changed files with 1 additions and 3 deletions
  1. 0 2
      .gitignore
  2. 1 1
      file.c

+ 0 - 2
.gitignore

@@ -9,7 +9,5 @@ CMakeFiles
 install_manifest.txt
 
 uci
-uci-static
-ucimap-example
 uci_config.h
 test/save

+ 1 - 1
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 {