diff --git a/src/ui/MAVLinkDecoder.cc b/src/ui/MAVLinkDecoder.cc index 9c2152396c2aacff3de78ec053fcb6b5edd44952..6472dda22cd6f43a6a8caf076352be00511ed638 100644 --- a/src/ui/MAVLinkDecoder.cc +++ b/src/ui/MAVLinkDecoder.cc @@ -227,7 +227,7 @@ void MAVLinkDecoder::emitFieldValue(mavlink_message_t* msg, int fieldid, quint64 QString fieldType; uint8_t* m = (uint8_t*)(msgDict[msgid].payload64); QString name("%1.%2"); - QString unit(""); + QString unit; // Debug vector messages if (msgid == MAVLINK_MSG_ID_DEBUG_VECT)