mirror of
https://gitlab.com/80486DX2-66/gists
synced 2025-01-10 08:27:48 +05:30
asprintf.c: remove the ending superfluous comma in a macro
This commit is contained in:
parent
4ce2d32a8a
commit
ad2babeb25
@ -44,7 +44,7 @@ ssize_t asprintf(char** strp, char* format, ...) {
|
||||
printf("[test] " caption ": %s\n", test_result ? "OK" : "failed"); \
|
||||
if (test_result == false) \
|
||||
exit(EXIT_FAILURE); \
|
||||
} while (0);
|
||||
} while (0)
|
||||
|
||||
int main(void) {
|
||||
const char* world = " world";
|
||||
|
Loading…
x
Reference in New Issue
Block a user