Skip to content

Commit

Permalink
libs/libc/string: remove redundant parenthesis
Browse files Browse the repository at this point in the history
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
  • Loading branch information
pkarashchenko authored and xiaoxiang781216 committed May 18, 2023
1 parent 6a28807 commit 8d565fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/libc/string/lib_timingsafe_bcmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ int timingsafe_bcmp(FAR const void *b1, FAR const void *b2, size_t n)
ret |= *p1++ ^ *p2++;
}

return (ret != 0);
return ret != 0;
}

0 comments on commit 8d565fc

Please sign in to comment.