From: apv Date: Wed, 13 Aug 2014 13:44:46 +0000 (+0400) Subject: 0024834: Allocation of memory for exception message must not throw another exception X-Git-Tag: V6_8_0_beta~161 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=5a89733fd434aa1e8438f6709f608c5141a42774;p=occt-copy.git 0024834: Allocation of memory for exception message must not throw another exception Removing warnings --- diff --git a/src/QABugs/QABugs_19.cxx b/src/QABugs/QABugs_19.cxx index 3a0e5efe4c..0666e52c12 100755 --- a/src/QABugs/QABugs_19.cxx +++ b/src/QABugs/QABugs_19.cxx @@ -2295,8 +2295,9 @@ static Standard_Integer OCC24834 (Draw_Interpretor& di, Standard_Integer n, cons std::cout << "Usage : " << a[0] << "\n"; return 1; } - - if (sizeof (char*) > 4) { + + int i = sizeof (char*); + if (i > 4) { std::cout << "64-bit architecture is not supported.\n"; return 0; }