diff options
Diffstat (limited to 'sysdeps/generic/strtok.c')
-rw-r--r-- | sysdeps/generic/strtok.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sysdeps/generic/strtok.c b/sysdeps/generic/strtok.c index 4f89efa..1e96fec 100644 --- a/sysdeps/generic/strtok.c +++ b/sysdeps/generic/strtok.c @@ -43,10 +43,7 @@ strtok (s, delim) /* Scan leading delimiters. */ s += strspn (s, delim); if (*s == '\0') - { - olds = NULL; - return NULL; - } + return NULL; /* Find the end of the token. */ token = s; |