Skip to content

Commit

Permalink
fix uninitial var
Browse files Browse the repository at this point in the history
  • Loading branch information
spacemeowx2 committed Sep 28, 2018
1 parent 17e0eef commit 201873b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packet.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ uint16_t payload_total_len(const struct payload *payload)
void payload_print_hex(const struct payload *payload)
{
const struct payload *part = payload;
int i;
int i = 0;

while (part) {
for (int j = 0; j < part->len; j++) {
Expand Down

0 comments on commit 201873b

Please sign in to comment.