From 97c987240866817a96bf644288fc5f8aaeaf0f5a Mon Sep 17 00:00:00 2001 From: deischen Date: Tue, 28 Dec 1999 18:13:04 +0000 Subject: -Wall and minor style(9) cleanups. --- lib/libpthread/thread/thr_setschedparam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libpthread/thread/thr_setschedparam.c') diff --git a/lib/libpthread/thread/thr_setschedparam.c b/lib/libpthread/thread/thr_setschedparam.c index 57e24e8..f080d5d 100644 --- a/lib/libpthread/thread/thr_setschedparam.c +++ b/lib/libpthread/thread/thr_setschedparam.c @@ -63,9 +63,9 @@ pthread_setschedparam(pthread_t pthread, int policy, * queue before any adjustments are made to its * active priority: */ + old_prio = pthread->active_priority; if ((pthread->flags & PTHREAD_FLAGS_IN_PRIOQ) != 0) { in_readyq = 1; - old_prio = pthread->active_priority; PTHREAD_PRIOQ_REMOVE(pthread); } -- cgit v1.1