From: Martin Quinson Date: Sun, 6 Oct 2019 09:48:20 +0000 (+0200) Subject: sonar: useless cosmetics X-Git-Tag: v3.24~30 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/7fa64441adf81713b300ae4ae9688cf5c6eb81ef sonar: useless cosmetics --- 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 {