tools/nxstyle.c: Fix error in conditional logic that was preventing detection bad brace alignment. Add logic to handle alignment of braces in data initializators which following slightly different indentation rules.

This commit is contained in:
Gregory Nutt
2019-06-30 10:35:10 -06:00
parent 5653b9a2af
commit bde0509cae
10 changed files with 122 additions and 90 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ int env_dup(FAR struct task_group_s *group)
}
else
{
/* Duplicate the parent environment. */
/* Duplicate the parent environment. */
memcpy(envp, ptcb->group->tg_envp, envlen);
}