CoapPacket

- Removed branch which would never be reached
This commit is contained in:
Tristan B. Velloza Kildaire 2023-09-29 10:09:31 +02:00
parent f3522d780d
commit c3bd20415d
1 changed files with 1 additions and 7 deletions

View File

@ -686,16 +686,10 @@ public class CoapPacket
{
return OptionLenType._12_BIT_EXTENDED;
}
else if(type == 15)
else
{
return OptionLenType.UPPER_PAYLOAD_MARKER;
}
else
{
writeln("GetOptionLenType(): Major error if this happens");
assert(false);
}
}