1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00

0023299: ShapeCustom_BSplineRestriction.cxx: line 732 - identical sub-expression in 'if-clause'

Verifying both affected variables in the if-clause.
This commit is contained in:
Pawel 2012-07-17 14:21:01 +02:00 committed by Pawel Kowalski
parent dede2e21f6
commit b476213a1d

View File

@ -729,7 +729,7 @@ Standard_Boolean ShapeCustom_BSplineRestriction::ConvertSurface(const Handle(Geo
if(myDeg) {
if(MaxSeg < myParameters->GMaxSeg()){
if(aCV != 0 || aCV != 0) {
if(aCV != 0 || aCU != 0) {
if(aCV > 0) aCV--;
if(aCU > 0) aCU--;
}