Build: Resolve warnings

This commit is contained in:
Kyle Schwarz
2026-07-24 13:09:29 -04:00
parent 77a886bbe0
commit 9b01e488da
14 changed files with 36 additions and 35 deletions
+3 -1
View File
@@ -234,7 +234,9 @@ bool Encoder::encode(const Packetizer& packetizer, std::vector<uint8_t>& result,
result = packetizer.packetWrap(result, false);
return true;
}
break;
default:
report(APIEvent::Type::MessageFormattingError, APIEvent::Severity::Error);
return false; // The message was not a properly formed Message
}
// Early returns may mean we don't reach this far, check the type you're concerned with