mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0025765: Coding rules - clean up code from obsolete macro checks
Unused code paths (including definition of these macros and meaningless comments) were eliminated.
This commit is contained in:
@@ -1429,13 +1429,6 @@ OSD_KindFile OSD_File :: KindOfFile () const {
|
||||
return retVal;
|
||||
|
||||
} // end OSD_File :: KindOfFile
|
||||
#define PRO13792
|
||||
#ifndef PRO13792
|
||||
|
||||
OSD_File OSD_File :: BuildTemporary () {
|
||||
|
||||
OSD_Protection prt;
|
||||
OSD_File retVal;
|
||||
|
||||
#ifdef VAC
|
||||
char tmpbuf [MAX_PATH];
|
||||
@@ -1455,16 +1448,6 @@ OSD_File OSD_File :: BuildTemporary () {
|
||||
TCollection_AsciiString fileName ( _ttmpnam ( NULL ) );
|
||||
#endif
|
||||
|
||||
OSD_Path filePath ( fileName );
|
||||
|
||||
retVal.SetPath ( filePath );
|
||||
retVal.Build ( OSD_ReadWrite, prt );
|
||||
|
||||
return retVal;
|
||||
|
||||
} // end OSD_File :: BuildTemporary
|
||||
|
||||
#else // PRO13792
|
||||
|
||||
//-------------------------------------------------debutpri???980424
|
||||
|
||||
@@ -1548,8 +1531,6 @@ OSD_File OSD_File :: BuildTemporary () {
|
||||
|
||||
} // end OSD_File :: BuildTemporary
|
||||
|
||||
#endif // PRO13792
|
||||
|
||||
//-------------------------------------------------finpri???980424
|
||||
|
||||
#if defined(__CYGWIN32__) || defined(__MINGW32__)
|
||||
|
Reference in New Issue
Block a user