diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-08-03 19:37:43 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-08-03 19:38:45 +0200 |
commit | df183287ff7ded9471205abfa59df27e5e5401da (patch) | |
tree | dd961f448b2fe3e261a1b8b13f785299462e58cf | |
parent | 77a34079d8f3d63b61543bf3af93043f8674e4c4 (diff) | |
download | glibc-df183287ff7ded9471205abfa59df27e5e5401da.zip glibc-df183287ff7ded9471205abfa59df27e5e5401da.tar.gz glibc-df183287ff7ded9471205abfa59df27e5e5401da.tar.bz2 |
hurd: Avoid spurious warning
Compilers missing some flow analysis may think ss may be used
uninitialized.
-rw-r--r-- | hurd/hurdselect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/hurdselect.c b/hurd/hurdselect.c index 9790d54..cab23fd 100644 --- a/hurd/hurdselect.c +++ b/hurd/hurdselect.c @@ -67,7 +67,7 @@ _hurd_select (int nfds, int error; } d[nfds]; sigset_t oset; - struct hurd_sigstate *ss; + struct hurd_sigstate *ss = NULL; union typeword /* Use this to avoid unkosher casts. */ { |