Apply cppcoreguidelines-init-variables

This commit is contained in:
Alexey Rybalchenko
2021-05-26 12:44:04 +02:00
parent 904771e9fa
commit 95b3cdab28
8 changed files with 14 additions and 14 deletions

View File

@@ -41,7 +41,7 @@ class TransportFactory final : public fair::mq::TransportFactory
, fZmqCtx(zmq_ctx_new())
, fManager(nullptr)
{
int major, minor, patch;
int major = 0, minor = 0, patch = 0;
zmq_version(&major, &minor, &patch);
LOG(debug) << "Transport: Using ZeroMQ (" << major << "." << minor << "." << patch << ") & "
<< "boost::interprocess (" << (BOOST_VERSION / 100000) << "." << (BOOST_VERSION / 100 % 1000) << "." << (BOOST_VERSION % 100) << ")";