From 87648222540461ef838ffa1334beeb26338798df Mon Sep 17 00:00:00 2001 From: degomme Date: Sun, 31 Jan 2016 00:52:39 +0100 Subject: [PATCH] This comparison was wrong - Thanks gcc 6.0 for the warning --- src/mc/mc_compare.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1