From 1e3a4e9ff4d9963aa77dc6135f351f90d927e9e0 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Mon, 10 Nov 2025 23:47:52 +0100 Subject: Do not explicitly initialize static variables to zero This is redundant according to the C standard. --- src/op/check/br_table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/op/check') diff --git a/src/op/check/br_table.c b/src/op/check/br_table.c index d104669..5d61b54 100644 --- a/src/op/check/br_table.c +++ b/src/op/check/br_table.c @@ -71,7 +71,7 @@ static enum nw_state get_target_count(struct nw_mod *const m) void nwp_op_check_br_table(struct nw_mod *const m) { - static const struct nw_sm_c_t t = {0}; + static const struct nw_sm_c_t t; m->sm.code.u.target = t; m->next = get_target_count; -- cgit v1.2.3