diff options
| author | Xavier Del Campo Romero <xavi92@disroot.org> | 2025-11-10 23:47:52 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi92@disroot.org> | 2025-11-10 23:47:52 +0100 |
| commit | 1e3a4e9ff4d9963aa77dc6135f351f90d927e9e0 (patch) | |
| tree | e8d126c4def527034f4504cecf74202c5b03dcff /src/op/check | |
| parent | 6b865a70c0f29e5ca9e13fae4a2a18406f44f4ee (diff) | |
| download | nanowasm-1e3a4e9ff4d9963aa77dc6135f351f90d927e9e0.tar.gz | |
Do not explicitly initialize static variables to zero
This is redundant according to the C standard.
Diffstat (limited to 'src/op/check')
| -rw-r--r-- | src/op/check/br_table.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
