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/br_if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/op/br_if.c') diff --git a/src/op/br_if.c b/src/op/br_if.c index 5b6b5a2..6eca18a 100644 --- a/src/op/br_if.c +++ b/src/op/br_if.c @@ -88,7 +88,7 @@ static enum nw_state get_relative_depth(struct nw_interp *const i) void nwp_op_br_if(struct nw_interp *const i) { - static const struct nw_i_sm_br_if b = {0}; + static const struct nw_i_sm_br_if b; i->next = get_relative_depth; i->sm.br_if = b; -- cgit v1.2.3