summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perlio.c b/perlio.c
index 57a61d92f4..ab08bec080 100644
--- a/perlio.c
+++ b/perlio.c
@@ -5156,7 +5156,7 @@ PerlIO_tmpfile(void)
int fd = -1;
char tempname[] = "/tmp/PerlIO_XXXXXX";
const char * const tmpdir = PL_tainting ? NULL : PerlEnv_getenv("TMPDIR");
- SV * sv;
+ SV * sv = NULL;
/*
* I have no idea how portable mkstemp() is ... NI-S
*/