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:
@@ -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( "\\" );
|
||||
|
||||
|
Reference in New Issue
Block a user