Skip to content

Commit

Permalink
fix: code style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LuchianMihai committed Aug 27, 2024
1 parent 3ea13c5 commit 23259e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/nxstyle.c
Original file line number Diff line number Diff line change
Expand Up @@ -3114,10 +3114,10 @@ int main(int argc, char **argv, char **envp)
if (m > 1 && isspace((int)line[m - 1]) &&
line[m - 1] != '\n' && line[m - 1] != '\r')
{

/* Report warning on if statement only is pnest is 0
* This takes into consideration the multiline if statement.
*/

if (bif == true && pnest == 0)
{
WARN("If statement followed by garbage", lineno, n);
Expand Down

0 comments on commit 23259e2

Please sign in to comment.