return 2;
break;
}
+ default :
+ return -1;
}
}
smx_process_t process = NULL;
int value;
- mc_state_t state = NULL;
mc_state_t next_graph_state = NULL;
smx_req_t req = NULL;
char *req_str;
//FIXME : vérifier condition permettant d'avoir tous les successeurs possibles dans le graph
- while(req = MC_state_get_request(current_pair->graph_state, &value)){
+ while((req = MC_state_get_request(current_pair->graph_state, &value)) != NULL){
/* Debug information */
if(XBT_LOG_ISENABLED(mc_dfs, xbt_log_priority_debug)){