diff options
author | Andrew Burgess <aburgess@redhat.com> | 2024-07-29 13:47:32 +0100 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2024-08-05 12:35:38 +0100 |
commit | ea238096883211f8c6e72f69912c51307996dc24 (patch) | |
tree | b0db2aadb7dcd659e49e9c915f85b6126d824dc3 | |
parent | 44da85f4455ea11296667434172810ea76a62add (diff) | |
download | gcc-ea238096883211f8c6e72f69912c51307996dc24.zip gcc-ea238096883211f8c6e72f69912c51307996dc24.tar.gz gcc-ea238096883211f8c6e72f69912c51307996dc24.tar.bz2 |
libiberty/argv.c: remove only_whitespace
After the commit:
commit 5e1d530da87a6d2aa7e719744cb278e7e54a6623 (gcc-buildargv)
Date: Sat Feb 10 11:22:13 2024 +0000
libiberty/buildargv: handle input consisting of only white space
The function only_whitespace (in argv.c) was no longer being called.
Lets delete it.
There should be no user visible changes after this commit.
2024-07-29 Andrew Burgess <aburgess@redhat.com>
libiberty/
* argv.c (only_whitespace): Delete.
-rw-r--r-- | libiberty/argv.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libiberty/argv.c b/libiberty/argv.c index 6753362..f889432 100644 --- a/libiberty/argv.c +++ b/libiberty/argv.c @@ -124,15 +124,6 @@ consume_whitespace (const char **input) } } -static int -only_whitespace (const char* input) -{ - while (*input != EOS && ISSPACE (*input)) - input++; - - return (*input == EOS); -} - /* @deftypefn Extension char** buildargv (char *@var{sp}) |