Index: libcfa/src/concurrency/actor.hfa
===================================================================
--- libcfa/src/concurrency/actor.hfa	(revision f23d34db26cec6c6f32cf80f98f35530197c7526)
+++ libcfa/src/concurrency/actor.hfa	(revision 99fb52c22ab05e02f3b2afe24d2f882e6736fb32)
@@ -438,6 +438,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;
