1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

Eliminate newly appeared warnings

This commit is contained in:
abv
2013-10-25 06:43:43 +04:00
parent 796a784d36
commit bd0b3e6097
6 changed files with 11 additions and 11 deletions

View File

@@ -415,7 +415,7 @@ static void __fastcall _osd_wnt_set_disk_name ( TCollection_AsciiString& result,
} /* end if */
if ( k == 0 )
{
if ( path.Name ().UsefullLength () == 0 && path.Extension ().UsefullLength () == 0 )
goto badPath;
@@ -427,6 +427,7 @@ static void __fastcall _osd_wnt_set_disk_name ( TCollection_AsciiString& result,
dir += path.Extension ();
} // end else
}
if ( dir.Value ( dir.UsefullLength () ) != TEXT( '\\' ) ) dir += TEXT( "\\" );