[svn:parrot] r45043 - trunk/src
petdance at svn.parrot.org
petdance at svn.parrot.org
Thu Mar 18 22:58:59 UTC 2010
Author: petdance
Date: Thu Mar 18 22:58:59 2010
New Revision: 45043
URL: https://trac.parrot.org/parrot/changeset/45043
Log:
Changed an internal i variable to be j, so as to avoid shadow conflict
Modified:
trunk/src/embed.c
Modified: trunk/src/embed.c
==============================================================================
--- trunk/src/embed.c Thu Mar 18 22:58:28 2010 (r45042)
+++ trunk/src/embed.c Thu Mar 18 22:58:59 2010 (r45043)
@@ -894,13 +894,13 @@
case enum_class_FixedIntegerArray:
{
const INTVAL n = VTABLE_elements(interp, c->u.key);
- INTVAL i;
+ INTVAL j;
Parrot_io_fprintf(interp, output, "[");
- for (i = 0; i < n; ++i) {
- const INTVAL val = VTABLE_get_integer_keyed_int(interp, c->u.key, i);
+ for (j = 0; j < n; ++j) {
+ const INTVAL val = VTABLE_get_integer_keyed_int(interp, c->u.key, j);
Parrot_io_fprintf(interp, output, "%d", val);
- if (i < n - 1)
+ if (j < n - 1)
Parrot_io_fprintf(interp, output, ",");
}
Parrot_io_fprintf(interp, output, "]");
More information about the parrot-commits
mailing list