Project

General

Profile

Bug - Static Analysis #1162

C4189: 'start' : local variable is initialized but not referenced (WinThreading.h)

Added by CyberTech about 10 years ago.

Status:
New
Priority:
Low
Assignee:
-
Start date:
2014-03-30
Due date:
% Done:

0%

Estimated time:
vbulletin_issue_id:

Description

void Wait(CPortableLock* unlockme=NULL)
	{
		EnterCriticalSection(&waiting);
		if (unlockme)
			((CWinLock*)unlockme)->Unlock();
		time_t start=time(0);
		int scount=0;
		{
			while(signaling.OwningThread==0)
			{
				/*
				if (time(0)-start>Timeout)
				{
					LeaveCriticalSection(&waiting);
					return;
				}
				*/

No data to display

Also available in: Atom PDF