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

0024834: Allocation of memory for exception message must not throw another exception

Removing warnings
This commit is contained in:
apv
2014-08-13 17:44:46 +04:00
committed by bugmaster
parent 1951a27c98
commit 5a89733fd4

View File

@@ -2295,8 +2295,9 @@ static Standard_Integer OCC24834 (Draw_Interpretor& di, Standard_Integer n, cons
std::cout << "Usage : " << a[0] << "\n"; std::cout << "Usage : " << a[0] << "\n";
return 1; return 1;
} }
if (sizeof (char*) > 4) { int i = sizeof (char*);
if (i > 4) {
std::cout << "64-bit architecture is not supported.\n"; std::cout << "64-bit architecture is not supported.\n";
return 0; return 0;
} }