diff --git a/testing/ostest/prioinherit.c b/testing/ostest/prioinherit.c index 860c7f5b9..13ddd476d 100644 --- a/testing/ostest/prioinherit.c +++ b/testing/ostest/prioinherit.c @@ -253,7 +253,7 @@ static void *lowpri_thread(void *parameter) int count; int policy; int ret; - int nwaiting; + int nwaiting = 0; int i; g_lowstate[threadno-1] = RUNNING;