about summary refs log tree commit diff
path: root/stdio-common/scanf15.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/scanf15.c')
-rw-r--r--stdio-common/scanf15.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/stdio-common/scanf15.c b/stdio-common/scanf15.c
index a937815b14..6e4980c2e1 100644
--- a/stdio-common/scanf15.c
+++ b/stdio-common/scanf15.c
@@ -69,8 +69,6 @@ main (void)
 
   char fname[strlen (tmpdir) + sizeof "/tst-scanf15.XXXXXX"];
   sprintf (fname, "%s/tst-scanf15.XXXXXX", tmpdir);
-  if (fname == NULL)
-    FAIL ();
 
   /* Create a temporary file.   */
   int fd = mkstemp (fname);