diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-03-25 22:10:27 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-03-25 22:10:27 +0000 |
commit | 7087a21c096179886f18cec5311cc7e897850eef (patch) | |
tree | e863c1e74f7f60ed972569f758275a3662d1bd6b /sv.c | |
parent | 962e59f3942cd3c21a40f74d9355b5264589f9a0 (diff) | |
download | perl-7087a21c096179886f18cec5311cc7e897850eef.tar.gz |
Silence 3 (spurious) gcc warnings about "maybe used uninitialized".
p4raw-id: //depot/perl@27607
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5384,7 +5384,7 @@ static STRLEN S_sv_pos_u2b_cached(pTHX_ SV *sv, MAGIC **mgp, const U8 *const start, const U8 *const send, STRLEN uoffset, STRLEN uoffset0, STRLEN boffset0) { - STRLEN boffset; + STRLEN boffset = 0; /* Actually always set, but let's keep gcc happy. */ bool found = FALSE; assert (uoffset >= uoffset0); @@ -5772,7 +5772,7 @@ Perl_sv_pos_b2u(pTHX_ register SV* sv, I32* offsetp) { const U8* s; const STRLEN byte = *offsetp; - STRLEN len; + STRLEN len = 0; /* Actually always set, but let's keep gcc happy. */ STRLEN blen; MAGIC* mg = NULL; const U8* send; |