Sophie

Sophie

distrib > Mandriva > 2011.0 > i586 > media > main-updates-src > by-pkgid > 25f6dc732128ff9854f2fb4f4dea8a85 > files > 16

coreutils-8.12-1.2.src.rpm

--- 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);