diff --git a/maestro/pool_manager.c b/maestro/pool_manager.c
index 7ce94cc0b73c857b74ad0ebd69622fae359bb6ca..a93a53b7c6a45f8042cb54109bee564659c72f78 100644
--- a/maestro/pool_manager.c
+++ b/maestro/pool_manager.c
@@ -1391,7 +1391,7 @@ mstro_pm__handle_retract_phase2(mstro_event event,
   ev.payload_case = MSTRO__POOL__EVENT__PAYLOAD_RETRACT;
   ev.retract = cont->msg->retract;
   ev.origin_id = cont->msg->token->appid;
-  mstro_status s = mstro_pm__possibly_fill_event_cdoname(&cdoid, app_id, &ev);
+  s = mstro_pm__possibly_fill_event_cdoname(&cdoid, app_id, &ev);
   if(s!=MSTRO_OK) {
     goto BAILOUT_FREE;
   }