Permalink
Browse files

renamed a shadowed variable.

  • Loading branch information...
1 parent b960fc1 commit bdc7c8d9c0ef3231ddbcffca7298ab6a04f4a437 @petdance petdance committed Mar 5, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/interp/api.c
View
@@ -740,7 +740,7 @@ PARROT_EXPORT
PARROT_CAN_RETURN_NULL
PARROT_WARN_UNUSED_RESULT
Parrot_PMC
-Parrot_interp_compile_string(PARROT_INTERP, ARGIN(PMC * compiler), ARGIN(STRING *code))
+Parrot_interp_compile_string(PARROT_INTERP, ARGIN(PMC *compiler), ARGIN(STRING *code))
{
ASSERT_ARGS(Parrot_interp_compile_string)
@@ -751,11 +751,11 @@ Parrot_interp_compile_string(PARROT_INTERP, ARGIN(PMC * compiler), ARGIN(STRING
Parrot_block_GC_mark(interp);
result = imcc_compile_string(imcc, code, is_pasm);
if (PMC_IS_NULL(result)) {
- STRING * const msg = imcc_last_error_message(imcc);
- const INTVAL code = imcc_last_error_code(imcc);
+ STRING * const msg = imcc_last_error_message(imcc);
+ const INTVAL error_code = imcc_last_error_code(imcc);
Parrot_unblock_GC_mark(interp);
- Parrot_ex_throw_from_c_args(interp, NULL, code, "%Ss", msg);
+ Parrot_ex_throw_from_c_args(interp, NULL, error_code, "%Ss", msg);
}
Parrot_unblock_GC_mark(interp);
return result;

0 comments on commit bdc7c8d

Please sign in to comment.