projects
/
occt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
351bbcb
)
0023312: Suspicious for loop in BiTgte_Blend.cxx
author
aba
<aba@opencascade.com>
Tue, 16 Oct 2012 14:06:05 +0000
(18:06 +0400)
committer
aba
<aba@opencascade.com>
Wed, 14 Nov 2012 10:07:33 +0000
(14:07 +0400)
Deleted line 'NbS=0;' to allow next loop be executable
src/BiTgte/BiTgte_Blend.cxx
patch
|
blob
|
blame
|
history
diff --git
a/src/BiTgte/BiTgte_Blend.cxx
b/src/BiTgte/BiTgte_Blend.cxx
index
c3f0279
..
65091b6
100755
(executable)
--- a/
src/BiTgte/BiTgte_Blend.cxx
+++ b/
src/BiTgte/BiTgte_Blend.cxx
@@
-2325,7
+2325,6
@@
void BiTgte_Blend::ComputeShape()
// modify the tubes on edge for partition of edges.
//
Standard_Integer NbS = NbSurfaces();
// modify the tubes on edge for partition of edges.
//
Standard_Integer NbS = NbSurfaces();
- NbS = 0;
for (Standard_Integer i = 1; i <= NbS; i++) {
const TopoDS_Shape& S1 = SupportShape1(i);
for (Standard_Integer i = 1; i <= NbS; i++) {
const TopoDS_Shape& S1 = SupportShape1(i);