Index: libcfa/src/concurrency/actor.hfa
===================================================================
--- libcfa/src/concurrency/actor.hfa	(revision e23169b8a1ac634d67009a7a7f4e9e9976bacdec)
+++ libcfa/src/concurrency/actor.hfa	(revision 9155026b8a8ebdc8a5b35d348434d4e9135bb8e7)
@@ -442,6 +442,12 @@
 
 static inline void check_message( message & this ) {
-    CFA_DEBUG( this.allocation_ = Finished; )
-    switch ( this.allocation_ ) {						// analyze message status
+    #ifdef __CFA_DEBUG__
+    Allocation temp = this.allocation_;
+    this.allocation_ = Finished;
+    switch ( temp )
+    #else
+    switch ( this.allocation_ )
+    #endif
+    {						// analyze message status
         case Nodelete: break;
         case Delete: delete( &this ); break;
