Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
This comparison was wrong - Thanks gcc 6.0 for the warning
authordegomme <augustin.degomme@unibas.ch>
Sat, 30 Jan 2016 23:52:39 +0000 (00:52 +0100)
committerdegomme <augustin.degomme@unibas.ch>
Sat, 30 Jan 2016 23:52:39 +0000 (00:52 +0100)
src/mc/mc_compare.cpp

index 5740b04..1404e61 100644 (file)
@@ -321,7 +321,7 @@ static int compare_local_variables(int process_index,
       current_var1 = &stack1->local_variables[cursor];
       current_var2 = &stack1->local_variables[cursor];
       if (current_var1->name != current_var2->name
-          || current_var1->subprogram != current_var1->subprogram
+          || current_var1->subprogram != current_var2->subprogram
           || current_var1->ip != current_var2->ip) {
         // TODO, fix current_varX->subprogram->name to include name if DW_TAG_inlined_subprogram
         XBT_VERB