From 1b4f167bf3ae9379bd50573ae535675d45159382 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath <[email protected]> Date: Sat, 30 May 2020 02:15:29 +0530 Subject: [PATCH] libraries/winpthreads: remove unused dwFlags variable in sched.c
the usage of this variable was removed in 13c9e28c0e77fb9877e0580139e769b1de55f6c7 commit Signed-off-by: Biswapriyo Nath <[email protected]> --- mingw-w64-libraries/winpthreads/src/sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-w64-libraries/winpthreads/src/sched.c b/mingw-w64-libraries/winpthreads/src/sched.c index df3c60e..976bcc1 100644 --- a/mingw-w64-libraries/winpthreads/src/sched.c +++ b/mingw-w64-libraries/winpthreads/src/sched.c @@ -89,7 +89,7 @@ int pthread_attr_getschedpolicy (const pthread_attr_t *attr, int *pol) static int pthread_check(pthread_t t) { struct _pthread_v *pv; - DWORD dwFlags; + if (!t) return ESRCH; pv = __pth_gpointer_locked (t); -- 2.26.2
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
