summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pp_ctl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index fb760ee183..d9d1a748de 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -4260,16 +4260,16 @@ S_require_file(pTHX_ SV *sv)
* For searchable paths, just search @INC normally
*/
if (!tryrsfp && !(errno == EACCES && !path_searchable)) {
- AV * const ar = GvAVn(PL_incgv);
- SSize_t i;
+ AV * const inc_ar = GvAVn(PL_incgv);
+ SSize_t inc_idx;
#ifdef VMS
if (vms_unixname)
#endif
{
SV *nsv = sv;
namesv = newSV_type(SVt_PV);
- for (i = 0; i <= AvFILL(ar); i++) {
- SV * const dirsv = *av_fetch(ar, i, TRUE);
+ for (inc_idx = 0; inc_idx <= AvFILL(inc_ar); inc_idx++) {
+ SV * const dirsv = *av_fetch(inc_ar, inc_idx, TRUE);
SvGETMAGIC(dirsv);
if (SvROK(dirsv)) {