From a13fafc0a27a39c028e8613439712efe88886f9f Mon Sep 17 00:00:00 2001 From: knarf Date: Mon, 17 Dec 2012 04:02:31 +0000 Subject: remove unused statement. This had a #define _LIBC before but that should not be necessary git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@255 1faa4e14-9dd3-4be0-9f0e-ffe519881164 --- src/base64.c | 10 ---------- 1 file changed, 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); -- cgit v1.2.3