From: degomme Date: Sat, 30 Jan 2016 23:52:39 +0000 (+0100) Subject: This comparison was wrong - Thanks gcc 6.0 for the warning X-Git-Tag: v3_13~1034 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/87648222540461ef838ffa1334beeb26338798df This comparison was wrong - Thanks gcc 6.0 for the warning --- diff --git a/src/mc/mc_compare.cpp b/src/mc/mc_compare.cpp index 5740b049c4..1404e61b99 100644 --- a/src/mc/mc_compare.cpp +++ b/src/mc/mc_compare.cpp @@ -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