mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
libiberty/argv.c: remove only_whitespace
After the commit:
commit 5e1d530da8
(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.
This commit is contained in:
parent
44da85f445
commit
ea23809688
@ -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})
|
@deftypefn Extension char** buildargv (char *@var{sp})
|
||||||
|
Loading…
Reference in New Issue
Block a user