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:36 UTC
[incubator-nuttx] 02/07: Formatting
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 b324596bac6eb3cc00cdf3aa034d13be42e8a4d7
Author: Johanne Schock <jo...@nivus.com>
AuthorDate: Sun Mar 8 20:08:47 2020 +0100
Formatting
---
tools/nxstyle.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/tools/nxstyle.c b/tools/nxstyle.c
index 2ef78dd..cf3a378 100644
--- a/tools/nxstyle.c
+++ b/tools/nxstyle.c
@@ -505,8 +505,8 @@ int main(int argc, char **argv, char **envp)
bool bblank; /* Used to verify block comment terminator */
bool ppline; /* True: The next line the continuation of a pre-processor command */
bool bexternc; /* True: Within 'extern "C"' */
- int rhcomment; /* Indentation of Comment to the right of code */
- int prevrhcmt; /* Indentation of previous Comment to the right of code */
+ int rhcomment; /* Indentation of Comment to the right of code */
+ int prevrhcmt; /* Indentation of previous Comment to the right of code */
int lineno; /* Current line number */
int indent; /* Indentation level */
int ncomment; /* Comment nesting level on this line */
@@ -625,8 +625,8 @@ int main(int argc, char **argv, char **envp)
bstring = false; /* True: Within a string */
ppline = false; /* True: Continuation of a pre-processor line */
bexternc = false; /* True: Within 'extern "C"' */
- rhcomment = 0; /* Indentation of Comment to the right of code */
- prevrhcmt = 0; /* Indentation of previous Comment to the right
+ rhcomment = 0; /* Indentation of Comment to the right of code */
+ prevrhcmt = 0; /* Indentation of previous Comment to the right
* of code */
lineno = 0; /* Current line number */
ncomment = 0; /* Comment nesting level on this line */
@@ -658,7 +658,7 @@ int main(int argc, char **argv, char **envp)
* comment.
*/
- prevrhcmt = rhcomment;
+ prevrhcmt = rhcomment;
if (ncomment <= 0)
{
rhcomment = 0;