You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by da...@apache.org on 2020/03/06 20:14:29 UTC

[incubator-nuttx] branch nxstyleFix-warning created (now 00b3888)

This is an automated email from the ASF dual-hosted git repository.

davids5 pushed a change to branch nxstyleFix-warning
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git.


      at 00b3888  Update nxstyle.c

This branch includes the following new commits:

     new 00b3888  Update nxstyle.c

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-nuttx] 01/01: Update nxstyle.c

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 00b38887f22529b684832d1ab5243ef3aef76c5e
Author: David Sidrane <Da...@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))