From: Arnaud Giersch Date: Fri, 27 Apr 2012 10:41:32 +0000 (+0200) Subject: Revert "got a "might be clobbered by ‘longjmp’ or ‘vfork’" error when compiled" X-Git-Tag: v3_7~42 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/e51ea751d20f2437b9b350a3bab1db3c257fb54f?hp=818a5f98dea44032e6bf38aae59d0ce18a120bbd Revert "got a "might be clobbered by ‘longjmp’ or ‘vfork’" error when compiled" This reverts commit 34b3794d5a8de6a9258a6144f67de4fc38c960f1. AFAICT, this is not needed after commit 1128245fc5ccac68ce1f696aab780e15ff9f735a. --- diff --git a/src/simix/smx_smurf.c b/src/simix/smx_smurf.c index ddbbbd3c81..df7fb256c9 100644 --- a/src/simix/smx_smurf.c +++ b/src/simix/smx_smurf.c @@ -7,7 +7,7 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_smurf, simix, XBT_INLINE smx_simcall_t SIMIX_simcall_mine() { - volatile smx_process_t issuer = SIMIX_process_self(); + smx_process_t issuer = SIMIX_process_self(); return &issuer->simcall; }