You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2020/01/12 15:58:22 UTC

[incubator-nuttx] 04/04: tools/nxstyle.c: Need to initialize a local variable in the last change.

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

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

commit a5bf0f0a0f80cf1563854a3b024a2fe0fe2003bf
Author: Gregory Nutt <gn...@nuttx.org>
AuthorDate: Sun Jan 12 09:54:46 2020 -0600

    tools/nxstyle.c:  Need to initialize a local variable in the last change.
---
 tools/nxstyle.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/nxstyle.c b/tools/nxstyle.c
index f5d1b9e..c7155af 100644
--- a/tools/nxstyle.c
+++ b/tools/nxstyle.c
@@ -354,6 +354,7 @@ int main(int argc, char **argv, char **envp)
   int i;
   int c;
 
+  excess = 0;
   while ((c = getopt(argc, argv, ":hv:gm:r:")) != -1)
     {
       switch (c)