mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0024058: Eliminate compiler warning C4702 in MSVC++ with warning level 4
Got rid of most of warnings of C4702 type: unreachable code. Returned some #ifdef DEB Fixed tabs formatting Fixed some mistakes in code
This commit is contained in:
@@ -416,10 +416,9 @@ static unsigned int __stdcall CpuFunc (void * param)
|
||||
{
|
||||
cout << "Process killed by CPU limit (" << CPU_LIMIT << " sec)" << endl;
|
||||
ExitProcess (2);
|
||||
return 0;
|
||||
// return 0;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#else
|
||||
static void CpuFunc (int)
|
||||
|
@@ -1405,7 +1405,6 @@ LRESULT APIENTRY DrawWindow::DrawProc(HWND hWnd, UINT wMsg, WPARAM wParam, LPARA
|
||||
else
|
||||
return(DefMDIChildProc(hWnd, wMsg, wParam, lParam));
|
||||
}
|
||||
return (0l);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user