diff options
-rw-r--r-- | src/base64.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/base64.c b/src/base64.c index 2bb7625..8855f29 100644 --- a/src/base64.c +++ b/src/base64.c @@ -277,12 +277,7 @@ int HTTP_b64_pton(const char *src, unsigned char *target, size_t targsize) case 2: /* Valid, means one byte of info */ /* Skip any number of spaces. */ -#ifdef _LIBC - /* To avoid warnings. */ for ( ; ch != '\0'; ch = *src++) -#else - for (NULL; ch != '\0'; ch = *src++) -#endif if (!isspace(ch)) break; /* Make sure there is another trailing = sign. */ @@ -297,12 +292,7 @@ int HTTP_b64_pton(const char *src, unsigned char *target, size_t targsize) * We know this char is an =. Is there anything but * whitespace after it? */ -#ifdef _LIBC - /* To avoid warnings. */ for ( ; ch != '\0'; ch = *src++) -#else - for (NULL; ch != '\0'; ch = *src++) -#endif if (!isspace(ch)) return (-1); |