This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 8d565fc0e35d0b08f96f34e9e02d9e6976d1fa62
Author: Petro Karashchenko <[email protected]>
AuthorDate: Wed May 17 23:06:57 2023 +0300

    libs/libc/string: remove redundant parenthesis
    
    Signed-off-by: Petro Karashchenko <[email protected]>
---
 libs/libc/string/lib_timingsafe_bcmp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libs/libc/string/lib_timingsafe_bcmp.c 
b/libs/libc/string/lib_timingsafe_bcmp.c
index 8473b61249..c150ffde3d 100644
--- a/libs/libc/string/lib_timingsafe_bcmp.c
+++ b/libs/libc/string/lib_timingsafe_bcmp.c
@@ -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;
 }

Reply via email to