mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Fix issues found by Codacy
This commit is contained in:
committed by
Dennis Klein
parent
985150437a
commit
e1f555bc05
@@ -145,8 +145,6 @@ FairMQTransportFactorySHM::FairMQTransportFactorySHM(const string& id, const Fai
|
||||
|
||||
void FairMQTransportFactorySHM::StartMonitor()
|
||||
{
|
||||
int numTries = 0;
|
||||
|
||||
auto env = boost::this_process::environment();
|
||||
|
||||
vector<bfs::path> ownPath = boost::this_process::path();
|
||||
@@ -161,7 +159,7 @@ void FairMQTransportFactorySHM::StartMonitor()
|
||||
if (!p.empty())
|
||||
{
|
||||
boost::process::spawn(p, "-x", "-s", fSessionName, "-d", "-t", "2000", env);
|
||||
|
||||
int numTries = 0;
|
||||
do
|
||||
{
|
||||
MonitorStatus* monitorStatus = fManager->ManagementSegment().find<MonitorStatus>(bipc::unique_instance).first;
|
||||
|
Reference in New Issue
Block a user