View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0023288 | Community | OCCT:Modeling Algorithms | public | 2012-07-16 16:16 | 2012-11-16 13:18 |
Reporter | Pawel | Assigned To | |||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Platform | Windows | OS | VC++ 2008 | ||
Product Version | 6.5.3 | ||||
Target Version | 6.5.4 | Fixed in Version | 6.5.4 | ||
Summary | 0023288: IntCurve_IntConicConic_1.cxx: if(A) {...} else if (A){...} pattern detected | ||||
Description | In lines 200 and 244 occurs the same if-condition: if(dO1O2 > AbsR1mR2-Tol) | ||||
Tags | No tags attached. | ||||
Test case number | Not needed | ||||
child of | 0023132 | closed | Suspicious code snippets |
|
In line 244 of IntCurve_IntConicConic_1.cxx there was unrealizable condition 'else if(dO1O2 > AbsR1mR2-Tol)'. Previous condition block in line 200 covers two cases of circle intersection: 1) one circle contacts another one from inside, 2) one circle intersects another one. |
|
The Git branch CR23288 is ready to be reviewed. Dear oan, please review. |
|
Dear JGV, I have no comments. Please consider consistency of the fix from your side. |
|
No remarks |
|
Dear BugMaster, Branch CR23288 (and products from GIT master) was compiled on Linux and Windows platforms and tested. Regressions: Not detected Improvements: Not detected Testing cases: Not needed |
occt: master 80cead41 2012-10-12 11:29:57
|
0023288: IntCurve_IntConicConic_1.cxx: if(A) {...} else if (A){...} pattern detected. Unrealizable condition ( second condition block 'else if(d0102>AbsR1mR2-Tol)' ) was deleted. |
Affected Issues 0023288 |
|
mod - src/IntCurve/IntCurve_IntConicConic_1.cxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-07-16 16:16 | Pawel | New Issue | |
2012-07-16 16:16 | Pawel | Assigned To | => bugmaster |
2012-07-16 16:17 | Pawel | Relationship added | child of 0023132 |
2012-10-09 19:00 | oan | Assigned To | bugmaster => aba |
2012-10-09 19:01 | oan | Status | new => assigned |
2012-10-12 15:49 |
|
Note Added: 0021757 | |
2012-10-12 15:52 |
|
Note Added: 0021758 | |
2012-10-12 15:53 |
|
Status | assigned => resolved |
2012-10-12 15:54 |
|
Assigned To | aba => oan |
2012-10-16 18:18 | oan | Note Added: 0021807 | |
2012-10-16 18:19 | oan | Assigned To | oan => jgv |
2012-10-19 15:15 |
|
Note Added: 0021852 | |
2012-10-19 15:15 |
|
Status | resolved => reviewed |
2012-10-23 15:48 |
|
Assigned To | jgv => mkv |
2012-10-29 17:55 |
|
Note Added: 0021995 | |
2012-10-29 17:55 |
|
Test case number | => Not needed |
2012-10-29 17:55 |
|
Assigned To | mkv => bugmaster |
2012-10-29 17:55 |
|
Status | reviewed => assigned |
2012-10-29 17:56 |
|
Status | assigned => resolved |
2012-10-29 17:56 |
|
Status | resolved => reviewed |
2012-10-29 17:56 |
|
Status | reviewed => tested |
2012-11-06 19:02 |
|
Changeset attached | => occt master 80cead41 |
2012-11-06 19:03 |
|
Assigned To | bugmaster => aba |
2012-11-06 19:03 |
|
Status | tested => verified |
2012-11-06 19:03 |
|
Resolution | open => fixed |
2012-11-16 13:13 | bugmaster | Fixed in Version | => 6.5.4 |
2012-11-16 13:18 | bugmaster | Status | verified => closed |