about summary refs log tree commit diff
path: root/stdio-common/tst-vfprintf-width-prec.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/tst-vfprintf-width-prec.c')
-rw-r--r--stdio-common/tst-vfprintf-width-prec.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/stdio-common/tst-vfprintf-width-prec.c b/stdio-common/tst-vfprintf-width-prec.c
index 3192fd797a..278d57f739 100644
--- a/stdio-common/tst-vfprintf-width-prec.c
+++ b/stdio-common/tst-vfprintf-width-prec.c
@@ -87,12 +87,6 @@ do_test (void)
   }
   {
     wchar_t result[100];
-    if (result == NULL)
-      {
-        printf ("error: calloc (%d, %zu): %m", ret + 1, sizeof (wchar_t));
-        return 1;
-      }
-
     ret = swprintf (result, 100, L"%133000.999999999x", 17);
     if (ret >= 0)
       {