shm: silence compiler warning
Before adoption: this commit came in with the history the project adopted, so no landing records it.
../../shm.c: In function ‘shm_get_buffer’: ../../shm.c:693:12: error: ‘ret’ may be used uninitialized [-Werror=maybe-uninitialized] 693 | return ret; | ^~~ ../../shm.c:691:20: note: ‘ret’ was declared here 691 | struct buffer *ret; | ^~~ cc1: all warnings being treated as errors
authored by Daniel Eklöf · committed by Daniel Eklöf · parent 5df0df2 · Browse files · 1 file+1 added−1 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+1 added−1 removed
- other:+1 added−1 removed