summaryrefslogtreecommitdiff
path: root/src/tools/db-convert.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/db-convert.c')
-rw-r--r--src/tools/db-convert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/db-convert.c b/src/tools/db-convert.c
index 7093f2960..38c2e675d 100644
--- a/src/tools/db-convert.c
+++ b/src/tools/db-convert.c
@@ -1649,7 +1649,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. */
@@ -1664,7 +1664,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);