mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
tests: Remove NULL check for an array
The NULL check for an array on stack is pointless since it will always be false, so drop it.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user