Skip to content

Commit

Permalink
fix C90 violation
Browse files Browse the repository at this point in the history
  • Loading branch information
NotFound committed Oct 18, 2011
1 parent d90df33 commit 0a87d4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pmc/packfiledebug.pmc
Expand Up @@ -245,13 +245,13 @@ for filenames.
METHOD set_directory(PMC *directory) {
Parrot_PackfileDebug_attributes * const attrs =
PARROT_PACKFILEDEBUG(SELF);
STRING * const const_table_str =
Parrot_str_new_constant(INTERP, "PackfileConstantTable");
PMC * const iter = VTABLE_get_iter(INTERP, directory);

/* This should be SUPER(directory), but that doesn't work. */
attrs->directory = directory;

STRING * const const_table_str =
Parrot_str_new_constant(INTERP, "PackfileConstantTable");
PMC * const iter = VTABLE_get_iter(INTERP, directory);
while (VTABLE_get_bool(INTERP, iter)) {
STRING * const name = VTABLE_shift_string(INTERP, iter);
PMC * const segment = VTABLE_get_pmc_keyed_str(INTERP, directory, name);
Expand Down

0 comments on commit 0a87d4d

Please sign in to comment.