diff --git a/ecal/core/src/registration/udp/ecal_registration_receiver_udp.cpp b/ecal/core/src/registration/udp/ecal_registration_receiver_udp.cpp index d1f0acd9ad..8d5f9249d9 100644 --- a/ecal/core/src/registration/udp/ecal_registration_receiver_udp.cpp +++ b/ecal/core/src/registration/udp/ecal_registration_receiver_udp.cpp @@ -31,7 +31,7 @@ using namespace eCAL; eCAL::CRegistrationReceiverUDP::CRegistrationReceiverUDP(RegistrationApplySampleCallbackT apply_sample_callback, const Registration::UDP::SReceiverAttributes& attr_) : m_registration_receiver(std::make_unique( Registration::UDP::ConvertToIOUDPReceiverAttributes(attr_), - [](const std::string& sample_name_) {return true; }, + [](const std::string& /*sample_name_*/) {return true; }, [apply_sample_callback](const char* serialized_sample_data_, size_t serialized_sample_size_) { Registration::Sample sample; if (!DeserializeFromBuffer(serialized_sample_data_, serialized_sample_size_, sample)) return false;