Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Documentation ++
[simgrid.git] / src / mc / mc_compare.c
index 5a6eb587e4195302b7567b5c6c47d546cace0820..5bc8380dc414f434a5eb02e8d7e7382ad4cdb918 100644 (file)
@@ -453,7 +453,9 @@ int snapshot_compare(void *state1, void *state2){
   /* Stacks comparison */
   unsigned int  cursor = 0;
   int diff_local = 0;
+#ifdef MC_DEBUG
   is_diff = 0;
+#endif
   mc_snapshot_stack_t stack1, stack2;
     
   while(cursor < xbt_dynar_length(s1->stacks)){