mirror of
https://github.com/FDOS/kernel.git
synced 2025-07-23 22:04:33 +02:00
skip redundant skipwh(pLine) call - its the first thing scan(...) does
This commit is contained in:
parent
d410370580
commit
e2832a5563
@ -1166,9 +1166,6 @@ STATIC char *GetNumArg(char *p, int *num)
|
|||||||
|
|
||||||
BYTE *GetStringArg(BYTE * pLine, BYTE * pszString)
|
BYTE *GetStringArg(BYTE * pLine, BYTE * pszString)
|
||||||
{
|
{
|
||||||
/* look for STRING */
|
|
||||||
pLine = skipwh(pLine);
|
|
||||||
|
|
||||||
/* just return whatever string is there, including null */
|
/* just return whatever string is there, including null */
|
||||||
return scan(pLine, pszString);
|
return scan(pLine, pszString);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user