Commit 309ee020 authored by Don Gagne's avatar Don Gagne

Fix compiler warning

parent 9f260bf6
......@@ -53,7 +53,7 @@ QVariant PX4ParameterLoader::_stringToTypedVariant(const QString& string, FactMe
{
QVariant var(string);
int convertTo;
int convertTo = QVariant::Int; // keep compiler warning happy
switch (type) {
case FactMetaData::valueTypeUint8:
case FactMetaData::valueTypeUint16:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment