Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cosmetics: sort calls to XBT_LOG_CONNECT.
[simgrid.git] / src / xbt / automatonparse_promela.c
index 6159835..128a874 100644 (file)
@@ -1,5 +1,6 @@
 #include "xbt/automatonparse_promela.h"
 
+xbt_automaton_t automaton;
 char* state_id_src;
 
 void init(){
@@ -43,8 +44,8 @@ void new_transition(char* id, xbt_exp_label_t label){
   state_dst = xbt_automaton_state_exists(automaton, id_state);
   xbt_state_t state_src = xbt_automaton_state_exists(automaton, state_id_src); 
   
-  xbt_transition_t trans = NULL;
-  trans = xbt_automaton_new_transition(automaton, state_src, state_dst, label);
+  //xbt_transition_t trans = NULL;
+  xbt_automaton_new_transition(automaton, state_src, state_dst, label);
 
 }