Skip to content

Commit

Permalink
tests: remove extra semicolon in macro
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasnick committed Apr 21, 2023
1 parent 1f33bb2 commit 3858bad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ static int all_bytes_equal(const void* s, unsigned char value, size_t n) {
#define PRINT_BUF(buf, len) do { \
printf("%s[%lu] = ", #buf, (unsigned long)len); \
print_buf_plain(buf, len); \
} while(0);
} while(0)

static void print_buf_plain(const unsigned char *buf, size_t len) {
size_t i;
printf("{");
Expand Down

0 comments on commit 3858bad

Please sign in to comment.