diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-28 16:16:53 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-28 16:16:53 +0000 |
commit | be278d2bb8f67e75c4bb2e5a62f217fe79dc66e3 (patch) | |
tree | 423972d21eee308fc8e09315f029e1310bdfda69 /src/base64.c | |
parent | 72e09121b253e285f89a0e04a0d6de32b9aa3121 (diff) |
Remove (void) args, these just make things ugly.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1811 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/base64.c')
-rw-r--r-- | src/base64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base64.c b/src/base64.c index 80022607b..144c51bec 100644 --- a/src/base64.c +++ b/src/base64.c @@ -240,7 +240,7 @@ int b64_decode(const char *src, char *target, size_t targsize) case 2: /* Valid, means one byte of info */ /* Skip any number of spaces. */ - for ((void) NULL; ch != '\0'; ch = *src++) + for (; ch != '\0'; ch = *src++) if (!isspace(ch)) break; /* Make sure there is another trailing = sign. */ @@ -255,7 +255,7 @@ int b64_decode(const char *src, char *target, size_t targsize) * We know this char is an =. Is there anything but * whitespace after it? */ - for ((void) NULL; ch != '\0'; ch = *src++) + for (; ch != '\0'; ch = *src++) if (!isspace(ch)) return (-1); |