mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +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:
@@ -86,8 +86,6 @@ main (void)
|
||||
|
||||
char fname[strlen (tmpdir) + sizeof "/tst-scanf14.XXXXXX"];
|
||||
sprintf (fname, "%s/tst-scanf14.XXXXXX", tmpdir);
|
||||
if (fname == NULL)
|
||||
FAIL ();
|
||||
|
||||
/* Create a temporary file. */
|
||||
int fd = mkstemp (fname);
|
||||
|
||||
Reference in New Issue
Block a user