aboutsummaryrefslogtreecommitdiff
path: root/src/op/br.c
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2025-11-10 23:47:52 +0100
committerXavier Del Campo Romero <xavi92@disroot.org>2025-11-10 23:47:52 +0100
commit1e3a4e9ff4d9963aa77dc6135f351f90d927e9e0 (patch)
treee8d126c4def527034f4504cecf74202c5b03dcff /src/op/br.c
parent6b865a70c0f29e5ca9e13fae4a2a18406f44f4ee (diff)
downloadnanowasm-1e3a4e9ff4d9963aa77dc6135f351f90d927e9e0.tar.gz
Do not explicitly initialize static variables to zero
This is redundant according to the C standard.
Diffstat (limited to 'src/op/br.c')
-rw-r--r--src/op/br.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op/br.c b/src/op/br.c
index 83ceca7..dd0066f 100644
--- a/src/op/br.c
+++ b/src/op/br.c
@@ -29,7 +29,7 @@ static enum nw_state get_relative_depth(struct nw_interp *const i)
void nwp_op_br(struct nw_interp *const i)
{
- static const struct nw_i_sm_br b = {0};
+ static const struct nw_i_sm_br b;
i->next = get_relative_depth;
i->sm.br = b;