roken: Fix warnings

This commit is contained in:
Nicolas Williams
2021-03-27 22:19:54 -05:00
parent 3a7c2c6a7f
commit a90e1cb65c
9 changed files with 69 additions and 35 deletions

View File

@@ -58,7 +58,8 @@ main(int argc, char **argv)
for(t = tests; t->data; t++) {
char *str;
int len;
len = rk_base64_encode(t->data, t->len, &str);
(void) rk_base64_encode(t->data, t->len, &str);
if(strcmp(str, t->result) != 0) {
fprintf(stderr, "failed test %d: %s != %s\n", numtest,
str, t->result);