mirror of
https://abf.rosa.ru/djam/coreutils.git
synced 2025-02-23 17:22:49 +00:00
12 lines
473 B
Diff
12 lines
473 B
Diff
--- coreutils-8.8/gnulib-tests/test-xvasprintf.c.str_fmt~ 2010-12-28 23:13:20.757419499 +0100
|
|
+++ coreutils-8.8/gnulib-tests/test-xvasprintf.c 2010-12-28 23:16:36.165427114 +0100
|
|
@@ -96,8 +96,7 @@ test_xasprintf (void)
|
|
|
|
{
|
|
/* Silence gcc warning about zero-length format string. */
|
|
- const char *empty = "";
|
|
- result = xasprintf (empty);
|
|
+ result = xasprintf ("");
|
|
ASSERT (result != NULL);
|
|
ASSERT (strcmp (result, "") == 0);
|
|
free (result);
|