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