diff options
author | Steve Hay <SteveHay@planit.com> | 2008-02-25 17:42:38 +0000 |
---|---|---|
committer | Steve Hay <SteveHay@planit.com> | 2008-02-25 17:42:38 +0000 |
commit | 0934c9d92d03b9af0e4cebeaa0942ad89e7cc04b (patch) | |
tree | 00d50ab3dd5df478121b7a73bff04b637f3506c1 /regcomp.c | |
parent | c427f4d2d4575fbc8a5190932fe321136c7597b3 (diff) | |
download | perl-0934c9d92d03b9af0e4cebeaa0942ad89e7cc04b.tar.gz |
Silence Borland compiler warnings (except for warnings from zlib) here:
http://www.nntp.perl.org/group/perl.daily-build.reports/2008/02/msg53937.html
p4raw-id: //depot/perl@33370
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -4417,7 +4417,10 @@ reStudy: Zero(r->substrs, 1, struct reg_substr_data); #ifdef TRIE_STUDY_OPT - if ( restudied ) { + if (!restudied) { + StructCopy(&zero_scan_data, &data, scan_data_t); + copyRExC_state = RExC_state; + } else { U32 seen=RExC_seen; DEBUG_OPTIMISE_r(PerlIO_printf(Perl_debug_log,"Restudying\n")); @@ -4432,9 +4435,6 @@ reStudy: SvREFCNT_dec(data.last_found); } StructCopy(&zero_scan_data, &data, scan_data_t); - } else { - StructCopy(&zero_scan_data, &data, scan_data_t); - copyRExC_state = RExC_state; } #else StructCopy(&zero_scan_data, &data, scan_data_t); |