From df183287ff7ded9471205abfa59df27e5e5401da Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 3 Aug 2021 19:37:43 +0200 Subject: hurd: Avoid spurious warning Compilers missing some flow analysis may think ss may be used uninitialized. --- hurd/hurdselect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hurd/hurdselect.c b/hurd/hurdselect.c index 9790d54864..cab23fdd82 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. */ { -- cgit 1.4.1