COMP: Fixed unused parameter and constant conditional warnings.

This commit is contained in:
Brad King 2005-04-22 09:21:19 -04:00
parent e4092a2a7a
commit fbe5a2e629
1 changed files with 3 additions and 1 deletions

View File

@ -1607,6 +1607,8 @@ DWORD WINAPI kwsysProcessPipeThreadWake(LPVOID ptd)
*/
void kwsysProcessPipeThreadWakePipe(kwsysProcess* cp, kwsysProcessPipeData* td)
{
(void)cp;
/* Wait for a possible wake command. */
WaitForSingleObject(td->Waker.Go, INFINITE);
@ -2507,7 +2509,7 @@ static void kwsysProcess_List__Delete_NT4(kwsysProcess_List* self)
static int kwsysProcess_List__Update_NT4(kwsysProcess_List* self)
{
self->CurrentInfo = 0;
while(1)
for(;;)
{
/* Query number 5 is for system process list. */
NTSTATUS status =