1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +01:00

OP-1170 One more compiler warning zapped.

This commit is contained in:
m_thread 2014-03-04 23:51:44 +01:00
parent 076e690337
commit aa9e18d7fa

View File

@ -246,7 +246,10 @@ void GCSControlGadget::gamepads(quint8 count)
void GCSControlGadget::readUDPCommand()
{
double pitch, yaw, roll, throttle;
double pitch = 0.0;
double yaw = 0.0;
double roll = 0.0;
double throttle = 0.0;
while (control_sock->hasPendingDatagrams()) {
QByteArray datagram;