Skip to content

Commit

Permalink
test: fix uninitialized complaint from tcp recv max test
Browse files Browse the repository at this point in the history
  • Loading branch information
gdamore committed Dec 16, 2024
1 parent a5c9cdf commit 943cafb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sp/transport/tcp/tcp_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ test_tcp_keep_alive_option(void)
void
test_tcp_recv_max(void)
{
char msg[256];
char buf[256];
char msg[256] = { 0 };
char buf[256] = { 0 };
nng_socket s0;
nng_socket s1;
nng_listener l;
Expand Down

0 comments on commit 943cafb

Please sign in to comment.