[svn:parrot] r40021 - trunk/src

NotFound at svn.parrot.org NotFound at svn.parrot.org
Sun Jul 12 19:32:47 UTC 2009


Author: NotFound
Date: Sun Jul 12 19:32:44 2009
New Revision: 40021
URL: https://trac.parrot.org/parrot/changeset/40021

Log:
[cage] avoid a 'might be clobbered' warning by declaring the variable volatile

Modified:
   trunk/src/thread.c

Modified: trunk/src/thread.c
==============================================================================
--- trunk/src/thread.c	Sun Jul 12 16:40:48 2009	(r40020)
+++ trunk/src/thread.c	Sun Jul 12 19:32:44 2009	(r40021)
@@ -498,7 +498,7 @@
     Parrot_runloop   jump_point;
     int              lo_var_ptr;
     UINTVAL          tid;
-    PMC             *sub_pmc;
+    PMC             * volatile sub_pmc;
     PMC             *sub_arg;
     PMC * const      self    = (PMC*) arg;
     PMC             *ret_val = NULL;


More information about the parrot-commits mailing list