mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-29 07:24:13 +01:00
LP-2 fixed warning about unused variable
This commit is contained in:
parent
bd8f03398e
commit
e22061cc8e
@ -210,8 +210,8 @@ void UdpReceiver::onReadyRead()
|
||||
while (inSocket->hasPendingDatagrams()) {
|
||||
QByteArray datagram;
|
||||
datagram.resize(inSocket->pendingDatagramSize());
|
||||
quint64 datagramSize;
|
||||
datagramSize = inSocket->readDatagram(datagram.data(), datagram.size());
|
||||
// quint64 datagramSize;
|
||||
/*datagramSize =*/ inSocket->readDatagram(datagram.data(), datagram.size());
|
||||
|
||||
processDatagram(datagram);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user