summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2010-07-23 23:24:11 +0100
committerDavid Mitchell <davem@iabyn.com>2010-07-23 23:24:11 +0100
commit52a9a866c79d0cc70f5d2074dd80a3d52797f03a (patch)
tree6586b4a76db78e111ae44369fa7609ffa452aa4c
parent6bdc4f2cdd76ae57ca322b403017077187bc865c (diff)
downloadperl-52a9a866c79d0cc70f5d2074dd80a3d52797f03a.tar.gz
[perl #76478] silence compiler warning
Intel's icc compiler is too clever for its own good. Silence a false positive 'may be used undefined' warning.
-rw-r--r--op.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/op.c b/op.c
index 276e10093e..5a0962bbb3 100644
--- a/op.c
+++ b/op.c
@@ -5661,7 +5661,7 @@ Perl_newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block)
dVAR;
GV *gv;
const char *ps;
- STRLEN ps_len;
+ STRLEN ps_len = 0; /* init it to avoid false uninit warning from icc */
register CV *cv = NULL;
SV *const_sv;
/* If the subroutine has no body, no attributes, and no builtin attributes