]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
wasm32: use is_whitespace()
authorJan Beulich <jbeulich@suse.com>
Mon, 3 Feb 2025 11:28:22 +0000 (12:28 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 3 Feb 2025 11:28:22 +0000 (12:28 +0100)
Convert an open-coded check.

gas/config/tc-wasm32.c

index 88a20805891d10e0bdd1d34fac0b3df6c66e3887..c9b078781795110525c5d0dd63dece8e306cdb11 100644 (file)
@@ -229,7 +229,7 @@ md_apply_fix (fixS * fixP, valueT * valP, segT seg ATTRIBUTE_UNUSED)
 static inline char *
 skip_space (char *s)
 {
-  while (*s == ' ' || *s == '\t')
+  while (is_whitespace (*s))
     ++s;
   return s;
 }