[svn:parrot] r44890 - trunk/src
tewk at svn.parrot.org
tewk at svn.parrot.org
Fri Mar 12 02:07:58 UTC 2010
Author: tewk
Date: Fri Mar 12 02:07:58 2010
New Revision: 44890
URL: https://trac.parrot.org/parrot/changeset/44890
Log:
Parrot_compile_string remove unused variable
Modified:
trunk/src/embed.c
Modified: trunk/src/embed.c
==============================================================================
--- trunk/src/embed.c Fri Mar 12 02:05:23 2010 (r44889)
+++ trunk/src/embed.c Fri Mar 12 02:07:58 2010 (r44890)
@@ -1103,8 +1103,8 @@
* before compiling a string */
if (!interp->initial_pf) {
- PackFile * const pf = PackFile_new_dummy(interp,
- Parrot_str_new_constant(interp, "compile_string"));
+ /* SIDE EFFECT: PackFile_new_dummy sets interp->initial_pf */
+ PackFile_new_dummy(interp, Parrot_str_new_constant(interp, "compile_string"));
/* Assumption: there is no valid reason to fail to create it.
* If the assumption changes, replace the assertion with a
* runtime check */
More information about the parrot-commits
mailing list