X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/054ee8581cc1b4c22fcf66c5b3f0c6e7267a3e65..12c0f182635ed71b370d608b5b9a614153765cd4:/src/simix/smx_synchro.c diff --git a/src/simix/smx_synchro.c b/src/simix/smx_synchro.c index 58e0b85af2..c0eba11712 100644 --- a/src/simix/smx_synchro.c +++ b/src/simix/smx_synchro.c @@ -463,7 +463,6 @@ void SIMIX_sem_release(smx_sem_t sem) XBT_DEBUG("Sem release semaphore %p", sem); if ((proc = xbt_swag_extract(sem->sleeping))) { - proc = xbt_swag_extract(sem->sleeping); SIMIX_synchro_destroy(proc->waiting_action); proc->waiting_action = NULL; SIMIX_simcall_answer(&proc->simcall);