mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-12 16:21:13 +00:00
Drop unused variable
The else clause at the end makes the postincrement impossible.
This commit is contained in:
parent
f05a09da5a
commit
f732b87def
|
@ -176,7 +176,6 @@ void Device::InitWrapper()
|
|||
|
||||
// Fill the uninitialized channel containers
|
||||
for (auto& channel : GetChannels()) {
|
||||
int subChannelIndex = 0;
|
||||
for (auto& subChannel : channel.second) {
|
||||
// set channel transport
|
||||
LOG(debug) << "Initializing transport for channel " << subChannel.fName << ": " << TransportNames.at(subChannel.fTransportType);
|
||||
|
@ -208,8 +207,6 @@ void Device::InitWrapper()
|
|||
LOG(error) << "Cannot update configuration. Socket method (bind/connect) for channel '" << subChannel.fName << "' not specified.";
|
||||
throw runtime_error(tools::ToString("Cannot update configuration. Socket method (bind/connect) for channel ", subChannel.fName, " not specified."));
|
||||
}
|
||||
|
||||
subChannelIndex++;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user