nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gn...@apache.org
Subject [incubator-nuttx] branch master updated: Update nxstyle.c
Date Fri, 06 Mar 2020 21:50:09 GMT
This is an automated email from the ASF dual-hosted git repository.

gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 8b1dc28  Update nxstyle.c
8b1dc28 is described below

commit 8b1dc2825f02ed620a2f0fab350af7e9b36ddbe2
Author: David Sidrane <David.Sidrane@Nscdg.com>
AuthorDate: Fri Mar 6 12:14:23 2020 -0800

    Update nxstyle.c
---
 tools/nxstyle.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tools/nxstyle.c b/tools/nxstyle.c
index 5a993c3..0ac395c 100644
--- a/tools/nxstyle.c
+++ b/tools/nxstyle.c
@@ -404,11 +404,11 @@ static int block_comment_width(char *line)
 static int get_line_width(FILE *instream)
 {
   char line[LINE_SIZE]; /* The current line being examined */
-  int max = 0;
-  int min = INT_MAX;
-  int lineno = 0;
-  int lineno_max;
-  int lineno_min;
+  int max        = 0;
+  int min        = INT_MAX;
+  int lineno     = 0;
+  int lineno_max = 0;
+  int lineno_min = 0;
   int len;
 
   while (fgets(line, LINE_SIZE, instream))


Mime
View raw message