Skip to content

Commit

Permalink
fix unintialized warning
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 committed Oct 23, 2024
1 parent c2a4b96 commit c752b3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/native/mqtt5_packets.c
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,7 @@ struct aws_mqtt5_packet_disconnect_view_java_jni *aws_mqtt5_packet_disconnect_vi
/* Needed to track if optionals are set or not */
bool was_value_set = false;

uint32_t reason_code_enum;
uint32_t reason_code_enum = 0;
if (aws_get_enum_from_jobject(
env,
java_disconnect_packet,
Expand Down

0 comments on commit c752b3c

Please sign in to comment.