From c6b1fc344d1db03939b878a2ffa2f55804240d40 Mon Sep 17 00:00:00 2001 From: Frederic Suter Date: Thu, 12 Oct 2017 09:25:00 +0200 Subject: [PATCH 1/1] minor smell-- --- src/mc/compare.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mc/compare.cpp b/src/mc/compare.cpp index fdc2afc43d..1093b18778 100644 --- a/src/mc/compare.cpp +++ b/src/mc/compare.cpp @@ -979,7 +979,8 @@ int compare_heap_area(simgrid::mc::StateComparator& state, int process_index, const malloc_info* heapinfos1 = snapshot1->read(remote((const malloc_info**)heapinfo_address), process_index); const malloc_info* heapinfos2 = snapshot2->read(remote((const malloc_info**)heapinfo_address), process_index); - malloc_info heapinfo_temp1, heapinfo_temp2; + malloc_info heapinfo_temp1; + malloc_info heapinfo_temp2; simgrid::mc::HeapLocationPairs current; if (previous == nullptr) { @@ -1469,7 +1470,8 @@ static int compare_local_variables(simgrid::mc::StateComparator& state, } unsigned int cursor = 0; - local_variable_t current_var1, current_var2; + local_variable_t current_var1; + local_variable_t current_var2; while (cursor < stack1->local_variables.size()) { current_var1 = &stack1->local_variables[cursor]; current_var2 = &stack1->local_variables[cursor]; -- 2.20.1