0023351: The use of 'if (A) {...} else if (A) {...}' pattern was detected.
authoromy <omy@opencascade.com>
Fri, 19 Oct 2012 14:09:57 +0000 (18:09 +0400)
committeromy <omy@opencascade.com>
Fri, 19 Oct 2012 14:09:57 +0000 (18:09 +0400)
commit7da2a6ab87a79792cbc31e34f029b60e2e811662
tree6e9bf9dcd320a7540da1deee620e8c7981aa311d
parent4dabfbf233fb2cc1b927a2365a579407ed8a8192
0023351: The use of 'if (A) {...} else if (A) {...}' pattern was detected.
Got rid of duplicated code.
Got rid of redundant conditions' checks in Standard_Integer TOPOC(Draw_Interpretor& interpretor,Standard_Integer na,const char** a) function.
src/TestTopOpe/TestTopOpe_BOOPCommands.cxx