Revert "Prevent crash if *line == NULL"
This reverts commit b72f9516ac.
This commit is contained in:
parent
216e5cb58b
commit
818bd19798
|
|
@ -31,9 +31,6 @@ INPgetTok(char **line, char **token, int gobble)
|
||||||
char *point;
|
char *point;
|
||||||
int signstate;
|
int signstate;
|
||||||
|
|
||||||
if (!*line)
|
|
||||||
return (E_PARMVAL);
|
|
||||||
|
|
||||||
/* scan along throwing away garbage characters until end of line
|
/* scan along throwing away garbage characters until end of line
|
||||||
or a separation char is found */
|
or a separation char is found */
|
||||||
for (point = *line; *point != '\0'; point++) {
|
for (point = *line; *point != '\0'; point++) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue