From 9bf73235ffc8b7b9846a459f40516f7b16de6b1a Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 29 Mar 2012 14:58:23 +1030 Subject: [PATCH] ccan_tokenizer: don't assume __VA_ARGS__ can be empty. That's a gcc extension. --- ccan/ccan_tokenizer/test/run.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccan/ccan_tokenizer/test/run.c b/ccan/ccan_tokenizer/test/run.c index 92fe43c6..d3f04329 100644 --- a/ccan/ccan_tokenizer/test/run.c +++ b/ccan/ccan_tokenizer/test/run.c @@ -915,7 +915,7 @@ struct tokenizer_msg_test { #define M(...) array_count_pair(const char *, __VA_ARGS__) struct tokenizer_test tokenizer_tests[] = { - T(""), + { "", 0, 0 }, T("\n", {.type = TOK_WHITE, txt("\n")} ), -- 2.39.2