projects
/
occt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1951a27
)
0024834: Allocation of memory for exception message must not throw another exception
author
apv
<apv@opencascade.com>
Wed, 13 Aug 2014 13:44:46 +0000
(17:44 +0400)
committer
bugmaster
<bugmaster@opencascade.com>
Wed, 13 Aug 2014 13:44:46 +0000
(17:44 +0400)
Removing warnings
src/QABugs/QABugs_19.cxx
patch
|
blob
|
blame
|
history
diff --git
a/src/QABugs/QABugs_19.cxx
b/src/QABugs/QABugs_19.cxx
index
3a0e5ef
..
0666e52
100755
(executable)
--- 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;
}