Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Revert "got a "might be clobbered by ‘longjmp’ or ‘vfork’" error when compiled"
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Fri, 27 Apr 2012 10:41:32 +0000 (12:41 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Fri, 27 Apr 2012 10:41:32 +0000 (12:41 +0200)
This reverts commit 34b3794d5a8de6a9258a6144f67de4fc38c960f1.

AFAICT, this is not needed after commit 1128245fc5ccac68ce1f696aab780e15ff9f735a.

src/simix/smx_smurf.c

index ddbbbd3..df7fb25 100644 (file)
@@ -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;
 }