X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0d1c9172064ba746ed23e4e36146a3605491f5fa..4680606bad1fe9674554b6238add19de1bf6dde0:/examples/msg/mc/example_liveness_without_cycle.c diff --git a/examples/msg/mc/example_liveness_without_cycle.c b/examples/msg/mc/example_liveness_without_cycle.c index a43f7c8c00..219524b010 100644 --- a/examples/msg/mc/example_liveness_without_cycle.c +++ b/examples/msg/mc/example_liveness_without_cycle.c @@ -12,7 +12,7 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(example_liveness_without_cycle, "Example liveness w extern xbt_automaton_t automaton; -int r=1; +int r=0; int e=1; int d=1; @@ -74,9 +74,9 @@ int main(int argc, char **argv){ init(); yyparse(); automaton = get_automaton(); - xbt_propositional_symbol_t ps = xbt_new_propositional_symbol(automaton,"r", &predR); - ps = xbt_new_propositional_symbol(automaton,"e", &predE); - ps = xbt_new_propositional_symbol(automaton,"d", &predD); + xbt_new_propositional_symbol(automaton,"r", &predR); + xbt_new_propositional_symbol(automaton,"e", &predE); + xbt_new_propositional_symbol(automaton,"d", &predD); //display_automaton();