Skip to content

Commit 3858bad

Browse files
committed
tests: remove extra semicolon in macro
1 parent 1f33bb2 commit 3858bad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tests.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ static int all_bytes_equal(const void* s, unsigned char value, size_t n) {
4848
#define PRINT_BUF(buf, len) do { \
4949
printf("%s[%lu] = ", #buf, (unsigned long)len); \
5050
print_buf_plain(buf, len); \
51-
} while(0);
51+
} while(0)
52+
5253
static void print_buf_plain(const unsigned char *buf, size_t len) {
5354
size_t i;
5455
printf("{");

0 commit comments

Comments
 (0)