diff --git a/ground/gcs/src/plugins/hitl/aerosimrc/src/udpconnect.cpp b/ground/gcs/src/plugins/hitl/aerosimrc/src/udpconnect.cpp index c15d34cea..307929488 100644 --- a/ground/gcs/src/plugins/hitl/aerosimrc/src/udpconnect.cpp +++ b/ground/gcs/src/plugins/hitl/aerosimrc/src/udpconnect.cpp @@ -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); }