quiet warning
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@ size_t ConnBase::enqueueTxBody(pva_app_msg_t cmd)
|
||||
uint32_t(blen)},
|
||||
hostBE);
|
||||
auto err = evbuffer_add_buffer(tx, txBody.get());
|
||||
assert(!err);
|
||||
assert(!err); // could only fail if frozen/pinned, which is not the case
|
||||
statTx += 8u + blen;
|
||||
return 8u + blen;
|
||||
}
|
||||
|
||||
@@ -149,7 +149,7 @@ int recvfromx::call()
|
||||
|
||||
if(ret>=0) { // on success, check for control messages
|
||||
if(msg.msg_flags & MSG_CTRUNC)
|
||||
log_warn_printf(log, "MSG_CTRUNC, expand buffer %zu <- %zu\n", msg.msg_controllen, sizeof(cbuf));
|
||||
log_warn_printf(log, "MSG_CTRUNC, expand buffer %zu <- %zu\n", size_t(msg.msg_controllen), sizeof(cbuf));
|
||||
|
||||
for(cmsghdr *hdr = CMSG_FIRSTHDR(&msg); hdr ; hdr = CMSG_NXTHDR(&msg, hdr)) {
|
||||
if(0) {}
|
||||
|
||||
@@ -93,8 +93,6 @@ private:
|
||||
|
||||
class PVXS_API UDPListener
|
||||
{
|
||||
friend struct UDPManager;
|
||||
|
||||
std::function<void(UDPManager::Search&)> searchCB;
|
||||
std::function<void(UDPManager::Beacon&)> beaconCB;
|
||||
const std::shared_ptr<UDPManager::Pvt> manager;
|
||||
|
||||
Reference in New Issue
Block a user