Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : don't need to reset the result of simcal actually, remove unnecessary...
authorMarion Guthmuller <marion.guthmuller@loria.fr>
Mon, 28 Jan 2013 09:35:40 +0000 (10:35 +0100)
committerMarion Guthmuller <marion.guthmuller@loria.fr>
Mon, 28 Jan 2013 09:35:40 +0000 (10:35 +0100)
src/simix/smx_smurf_private.h

index 9cc5b12..83d7144 100644 (file)
     for(i=0; i< 10; i++){ \
       memset(&(self->simcall.args[i]), 0, sizeof(&(self->simcall.args[i]))); \
     } \
-    memset(&(self->simcall.result), 0, sizeof(&(self->simcall.result))); \
     MAP_WITH_DEFAULT_ARGS(SIMCALL_INIT_FIELD, (), ##__VA_ARGS__) \
     if (self != simix_global->maestro_process) { \
       XBT_DEBUG("Yield process '%s' on simcall %s (%d)", self->name, \