Skip to content

Commit 9dcf009

Browse files
committed
Fix uninitialize variable usage
1 parent 258d315 commit 9dcf009

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/subscription.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ static void on_tunnel_notification(
3434

3535
static uint8_t arena_mem[4096];
3636
GgArena arena = gg_arena_init(GG_BUF(arena_mem));
37-
GgObject notification;
37+
GgObject notification = { 0 };
3838

3939
GgError ret = gg_json_decode_destructive(payload, &arena, &notification);
4040
if (ret != GG_ERR_OK) {

0 commit comments

Comments
 (0)