Santiago Vila wrote:
> I wish there were a more simple way to fix this.
Does this work around the problem?
diff --git a/tests/test-xvasprintf.c b/tests/test-xvasprintf.c
index 0a2f1b8..4b7ff04 100644
--- a/tests/test-xvasprintf.c
+++ b/tests/test-xvasprintf.c
@@ -56,7 +56,7 @@ test_xvasprintf (void)
{
/* Silence gcc warning about zero-length format string. */
const char *empty = "";
- result = my_xasprintf (empty);
+ result = my_xasprintf (empty, empty);
ASSERT (result != NULL);
ASSERT (strcmp (result, "") == 0);
free (result);