From 5a89733fd434aa1e8438f6709f608c5141a42774 Mon Sep 17 00:00:00 2001 From: apv Date: Wed, 13 Aug 2014 17:44:46 +0400 Subject: [PATCH] 0024834: Allocation of memory for exception message must not throw another exception Removing warnings --- src/QABugs/QABugs_19.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; } -- 2.39.5