1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0024096: Eliminate compiler warning C4505 in MSVC++ with warning level 4

Removed obsolete functions from sources.
Some useful debug functions were 'defined' ( put into #ifdef ...#endif )
Removed some redundant code
This commit is contained in:
omy
2013-08-02 09:54:03 +04:00
committed by bugmaster
parent 7ff8f0197e
commit 4e18e72a22
59 changed files with 80 additions and 3093 deletions

View File

@@ -23,28 +23,6 @@
#include <CDF.ixx>
#include <Standard_Failure.hxx>
// Unused :
#ifdef DEB
static void CDF_CheckStatus(int LicenseStatus) {
if (LicenseStatus != 0) {
switch (LicenseStatus) {
case 1: Standard_Failure::Raise("LICENSE_unauthorized"); break;
case 2: Standard_Failure::Raise("LICENSE_wrong_data"); break;
case 3: Standard_Failure::Raise("LICENSE_max_users"); break;
case 4: Standard_Failure::Raise("LICENSE_unspecified"); break;
case 5: Standard_Failure::Raise("LICENSE_pb_init"); break;
case 6: Standard_Failure::Raise("LICENSE_unspecified"); break;
case 7: Standard_Failure::Raise("LICENSE_cantopenfile"); break;
case 8: Standard_Failure::Raise("LICENSE_connexion"); break;
case 9: Standard_Failure::Raise("LICENSE_syntaxe"); break;
default: Standard_Failure::Raise("LICENSE_unspecified"); break;
}
}
}
#endif
void static CDF_InitApplication () {
static Standard_Boolean FirstApplication = Standard_True;