0024834: Allocation of memory for exception message must not throw another exception
authorapv <apv@opencascade.com>
Wed, 13 Aug 2014 13:44:46 +0000 (17:44 +0400)
committerbugmaster <bugmaster@opencascade.com>
Wed, 13 Aug 2014 13:44:46 +0000 (17:44 +0400)
Removing warnings

src/QABugs/QABugs_19.cxx

index 3a0e5ef..0666e52 100755 (executable)
@@ -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;
   }