Update HomeSpan.h

This commit is contained in:
Gregg 2024-06-26 22:08:36 -05:00
parent f73c779913
commit d7dbb5fee5
1 changed files with 2 additions and 6 deletions

View File

@ -560,9 +560,7 @@ class SpanCharacteristic{
case FORMAT::FLOAT:
u.FLOAT=(double)val;
break;
case FORMAT::STRING:
case FORMAT::DATA:
case FORMAT::TLV_ENC:
default:
break;
} // switch
}
@ -588,9 +586,7 @@ class SpanCharacteristic{
return((T) u.UINT64);
case FORMAT::FLOAT:
return((T) u.FLOAT);
case FORMAT::STRING:
case FORMAT::DATA:
case FORMAT::TLV_ENC:
default:
break;
}
return((T)0); // included to prevent compiler warnings