summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-11-15 14:47:29 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-11-15 14:47:29 +0000
commit87330c3c58848154e8fd5ba40c628ac130564419 (patch)
tree8a6d8079c1df9daef1913169832c7394ce85de76 /pp_sys.c
parented53a2bb7f04bc2b3b8eb8450d6e00842e9d7680 (diff)
downloadperl-87330c3c58848154e8fd5ba40c628ac130564419.tar.gz
skip "might be used uninitialized".
p4raw-id: //depot/perl@13020
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 2ec8191336..e7a9de1880 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -1518,8 +1518,8 @@ PP(pp_sysread)
Size_t got = 0;
Size_t wanted;
bool charstart = FALSE;
- STRLEN skip;
- STRLEN charskip;
+ STRLEN charskip = 0;
+ STRLEN skip = 0;
gv = (GV*)*++MARK;
if ((PL_op->op_type == OP_READ || PL_op->op_type == OP_SYSREAD)
@@ -1568,6 +1568,7 @@ PP(pp_sysread)
charstart = TRUE;
charskip = 0;
+ skip = 0;
#ifdef HAS_SOCKET
if (PL_op->op_type == OP_RECV) {