From 0a87d4d86a06e340e68241c3afd21fa07a9b20f1 Mon Sep 17 00:00:00 2001 From: NotFound Date: Tue, 18 Oct 2011 17:52:52 +0200 Subject: [PATCH] fix C90 violation --- src/pmc/packfiledebug.pmc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pmc/packfiledebug.pmc b/src/pmc/packfiledebug.pmc index ff33e44797..6ce2fdf440 100644 --- a/src/pmc/packfiledebug.pmc +++ b/src/pmc/packfiledebug.pmc @@ -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);