From ac53fea032056fef6cc73f7356e6e126017a6023 Mon Sep 17 00:00:00 2001 From: Wiebe Cazemier Date: Wed, 27 Apr 2022 19:33:28 +0200 Subject: [PATCH] Remove assert that also has an exception --- mqttpacket.cpp | 2 -- 1 file changed, 0 insertions(+), 2 deletions(-) diff --git a/mqttpacket.cpp b/mqttpacket.cpp index 0c424ab..23b7a91 100644 --- a/mqttpacket.cpp +++ b/mqttpacket.cpp @@ -1449,8 +1449,6 @@ size_t MqttPacket::remainingAfterPos() size_t MqttPacket::decodeVariableByteIntAtPos() { - assert(pos < bites.size()); - uint64_t multiplier = 1; size_t value = 0; uint8_t encodedByte = 0; -- libgit2 0.21.4