From: Samuel Thibault Date: Tue, 3 Aug 2021 17:37:43 +0000 (+0200) Subject: hurd: Avoid spurious warning X-Git-Tag: glibc-2.35~608 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=df183287ff7ded9471205abfa59df27e5e5401da;p=thirdparty%2Fglibc.git hurd: Avoid spurious warning Compilers missing some flow analysis may think ss may be used uninitialized. --- diff --git a/hurd/hurdselect.c b/hurd/hurdselect.c index 9790d548641..cab23fdd82a 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. */ {