Skip to content

Commit

Permalink
Clean up some mess I noticed
Browse files Browse the repository at this point in the history
  • Loading branch information
bretambrose committed Jul 18, 2023
1 parent d4e4501 commit f2d968f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tests/v5/mqtt5_encoding_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@

#include <aws/testing/aws_test_harness.h>

/*
* AWS_MQTT_API enum aws_mqtt5_decode_result_type aws_mqtt5_decode_vli(struct aws_byte_cursor *cursor, uint32_t *dest);
* AWS_MQTT_API int aws_mqtt5_encode_variable_length_integer(struct aws_byte_buf *buf, uint32_t value);
* AWS_MQTT_API int aws_mqtt5_get_variable_length_encode_size(size_t value, size_t *encode_size);
*/

static int s_mqtt5_vli_size_fn(struct aws_allocator *allocator, void *ctx) {
(void)ctx;
(void)allocator;
Expand Down Expand Up @@ -47,9 +41,6 @@ static int s_mqtt5_vli_size_fn(struct aws_allocator *allocator, void *ctx) {
ASSERT_SUCCESS(aws_mqtt5_get_variable_length_encode_size(16384, &encode_size));
ASSERT_INT_EQUALS(3, encode_size);

ASSERT_SUCCESS(aws_mqtt5_get_variable_length_encode_size(16384, &encode_size));
ASSERT_INT_EQUALS(3, encode_size);

ASSERT_SUCCESS(aws_mqtt5_get_variable_length_encode_size(16385, &encode_size));
ASSERT_INT_EQUALS(3, encode_size);

Expand Down

0 comments on commit f2d968f

Please sign in to comment.