Sophie

Sophie

distrib > Mageia > 3 > i586 > by-pkgid > f60f5827640963120977f4c539f79a2c > files > 18

coreutils-8.20-5.mga3.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);