mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user