1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0028643: Coding rules - eliminate GCC compiler warnings -Wmisleading-indentation

This commit is contained in:
kgv
2017-04-08 14:50:24 +03:00
committed by bugmaster
parent 14c4193d11
commit c48e2889cd
68 changed files with 1691 additions and 1060 deletions

View File

@@ -2535,17 +2535,14 @@ static TopoDS_Compound AddTestStructure(int nCount_)
static Standard_Integer OCC7141 (Draw_Interpretor& di, Standard_Integer argc, const char ** argv)
{
int nCount = 10;
if (argc != 2 && argc != 3)
{
std::cout << "Usage : " << argv[0] << " [nCount] path\n";
return 1;
}
if (argc > 3)
{
di << "Usage : " << argv[0] << " [nCount] path\n";
return 1;
}
if (argc > 2)
nCount = Draw::Atoi(argv[1]);
TCollection_AsciiString aFilePath = argv[2];
int nCount = (argc > 2 ? Draw::Atoi(argv[1]) : 10);
TCollection_AsciiString aFilePath (argv[argc > 2 ? 2 : 1]);
STEPCAFControl_Writer writer;
Handle(TDocStd_Document) document;
document = new TDocStd_Document("Pace Test-StepExporter-");