Skip to content

Commit

Permalink
Remove assert
Browse files Browse the repository at this point in the history
  • Loading branch information
Hecatoncheir committed Jul 28, 2017
1 parent 9729f98 commit cc41fa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mqtt_message_suback.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class MqttMessageSuback extends MqttMessageAssured {
* byte 2 - Message ID LSB
*/
num decodeVariableHeader(List<int> data) {
assert(data.length == 3);
// assert(data.length == 3);

messageID = 256 * data[0] + data[1];

Expand Down

0 comments on commit cc41fa4

Please sign in to comment.