From 7fa64441adf81713b300ae4ae9688cf5c6eb81ef Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sun, 6 Oct 2019 11:48:20 +0200 Subject: [PATCH 1/1] sonar: useless cosmetics --- src/instr/instr_paje_events.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/instr/instr_paje_events.cpp b/src/instr/instr_paje_events.cpp index ba18219ff8..54ebc59980 100644 --- a/src/instr/instr_paje_events.cpp +++ b/src/instr/instr_paje_events.cpp @@ -111,11 +111,11 @@ void StateEvent::print() /* Subtract -1 because this is the process id and we transform it to the rank id */ container_name=std::to_string(stoi(container_name.erase(0, 5)) - 1); } - #if HAVE_SMPI +#if HAVE_SMPI if (simgrid::config::get_value("smpi/trace-call-location")) { stream_ << container_name << " location " << filename << " " << linenumber << std::endl ; } - #endif +#endif stream_ << container_name << " " << extra_->print(); *tracing_files.at(get_container()) << stream_.str() << std::endl; } else { -- 2.20.1