Fix unused variables, init order and effc++ warnings.

This commit is contained in:
Alexey Rybalchenko
2016-09-02 13:44:30 +02:00
committed by Mohammad Al-Turany
parent ac9475c591
commit d5b98567db
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ void FairMQExample4Sampler::Run()
std::unique_ptr<FairMQMessage> msg(NewMessage(number, // data pointer
sizeof(uint64_t), // data size
[](void* data, void* hint){ delete static_cast<uint64_t*>(data); } // callback to deallocate after the transfer
[](void* data, void* /*hint*/){ delete static_cast<uint64_t*>(data); } // callback to deallocate after the transfer
));
LOG(INFO) << "Sending \"" << counter << "\"";