diff options
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/stdio/tmpfile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/stdio/tmpfile.c b/lib/libc/stdio/tmpfile.c index b38e0bca83b9..22d0eb1c5f0c 100644 --- a/lib/libc/stdio/tmpfile.c +++ b/lib/libc/stdio/tmpfile.c @@ -61,6 +61,7 @@ tmpfile() char *buf; const char *tmpdir; + tmpdir = NULL; if (issetugid() == 0) tmpdir = getenv("TMPDIR"); if (tmpdir == NULL) |
