summaryrefslogtreecommitdiff
path: root/ext/POSIX/POSIX.xs
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2017-11-29 08:24:21 +0000
committerDavid Mitchell <davem@iabyn.com>2017-11-29 08:24:21 +0000
commitddb2f04f1f936382c5b771ae6e4e81083104ee7e (patch)
tree1cd17ddb4c6238308b3ea8a4d63aaac5ef73051c /ext/POSIX/POSIX.xs
parente3929c01a7e43a0710758c66cf3ce4d32715b8d5 (diff)
downloadperl-ddb2f04f1f936382c5b771ae6e4e81083104ee7e.tar.gz
POSIX.xs: remove unused variable
Diffstat (limited to 'ext/POSIX/POSIX.xs')
-rw-r--r--ext/POSIX/POSIX.xs1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs
index 922f4d15c8..49d36a3fc0 100644
--- a/ext/POSIX/POSIX.xs
+++ b/ext/POSIX/POSIX.xs
@@ -3565,7 +3565,6 @@ strftime(fmt, sec, min, hour, mday, mon, year, wday = -1, yday = -1, isdst = -1)
GCC_DIAG_RESTORE;
sv = sv_newmortal();
if (buf) {
- const U8 * first_variant;
STRLEN len = strlen(buf);
sv_usepvn_flags(sv, buf, len, SV_HAS_TRAILING_NUL);
if ( SvUTF8(fmt)