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
@@ -816,8 +816,6 @@ void FairMQDevice::LogSocketRates()
|
||||
chrono::time_point<chrono::high_resolution_clock> t0;
|
||||
chrono::time_point<chrono::high_resolution_clock> t1;
|
||||
|
||||
unsigned long long msSinceLastLog;
|
||||
|
||||
vector<FairMQSocket*> filteredSockets;
|
||||
vector<string> filteredChannelNames;
|
||||
vector<int> logIntervals;
|
||||
@@ -879,7 +877,7 @@ void FairMQDevice::LogSocketRates()
|
||||
{
|
||||
t1 = chrono::high_resolution_clock::now();
|
||||
|
||||
msSinceLastLog = chrono::duration_cast<chrono::milliseconds>(t1 - t0).count();
|
||||
unsigned long long msSinceLastLog = chrono::duration_cast<chrono::milliseconds>(t1 - t0).count();
|
||||
|
||||
i = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user