]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: simplify c32issep
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 5 Apr 2026 22:51:36 +0000 (15:51 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 6 Apr 2026 18:15:10 +0000 (11:15 -0700)
* src/system.h (c32issep): Avoid unnecessary ‘!!’.

src/system.h

index 2c6511b277561617ab9b7de382db9bdefbefea78..d3c5f08a78696707f1dac27dde3ac55a943b3bc5 100644 (file)
@@ -180,7 +180,7 @@ c32issep (char32_t wc)
 #if defined __GLIBC__
   return !! c32isblank (wc);
 #else
-  return !! (c32isspace (wc) && ! c32isvertspace (wc) && ! c32isnbspace (wc));
+  return c32isspace (wc) && ! c32isvertspace (wc) && ! c32isnbspace (wc);
 #endif
 }