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/unreachable.c | |
| 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/unreachable.c')
| -rw-r--r-- | src/op/unreachable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op/unreachable.c b/src/op/unreachable.c index 6ecd374..6028ae9 100644 --- a/src/op/unreachable.c +++ b/src/op/unreachable.c @@ -31,7 +31,7 @@ static enum nw_state tell(struct nw_interp *const i) void nwp_op_unreachable(struct nw_interp *const i) { - static const struct nw_i_sm_unreachable u = {0}; + static const struct nw_i_sm_unreachable u; i->sm.unreachable = u; i->next = tell; |
