From 7dde8eacbb62bb78ada33fb2df1129bb74b35257 Mon Sep 17 00:00:00 2001 From: David Leonard Date: Thu, 6 Jan 2000 07:21:15 +0000 Subject: quieten gcc with extra parens --- lib/libc_r/uthread/uthread_sigwait.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libc_r/uthread/uthread_sigwait.c') diff --git a/lib/libc_r/uthread/uthread_sigwait.c b/lib/libc_r/uthread/uthread_sigwait.c index 84db32d0470..abcc1d6e894 100644 --- a/lib/libc_r/uthread/uthread_sigwait.c +++ b/lib/libc_r/uthread/uthread_sigwait.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_sigwait.c,v 1.7 1999/11/25 07:01:45 d Exp $ */ +/* $OpenBSD: uthread_sigwait.c,v 1.8 2000/01/06 07:21:14 d Exp $ */ /* * Copyright (c) 1997 John Birrell . * All rights reserved. @@ -72,7 +72,7 @@ sigwait(const sigset_t * set, int *sig) sigdelset(&waitset, SIGINFO); /* Check to see if a pending signal is in the wait mask. */ - if (tempset = (_thread_run->sigpend & waitset)) { + if ((tempset = (_thread_run->sigpend & waitset)) != 0) { /* Enter a loop to find a pending signal: */ for (i = 1; i < NSIG; i++) { if (sigismember (&tempset, i)) -- cgit v1.2.3