You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2020/03/09 16:00:37 UTC

[incubator-nuttx] 03/07: Style

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

commit 46b8347217f5ab3cd8b08bb4dfbfbbf415321e5b
Author: Johanne Schock <jo...@nivus.com>
AuthorDate: Sun Mar 8 20:12:06 2020 +0100

    Style
---
 tools/nxstyle.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/nxstyle.c b/tools/nxstyle.c
index cf3a378..47c5615 100644
--- a/tools/nxstyle.c
+++ b/tools/nxstyle.c
@@ -715,7 +715,7 @@ int main(int argc, char **argv, char **envp)
                * preceding line has no comment.
                */
 
-              if (line[n] != '}' && line[n] != '#' && !prevrhcmt)
+              if (line[n] != '}' && line[n] != '#' && prevrhcmt == 0)
                 {
                    ERROR("Missing blank line after comment", comment_lineno,
                          1);