mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0025734: GCC warnings in Android build
Warnings were fixed. Fixed wrong re-initialization.
This commit is contained in:
@@ -77,7 +77,7 @@ Handle(Resource_Manager) ShapeProcess_Context::LoadResourceManager (const Standa
|
||||
if ( ! sRC.IsNull() && ! name.IsEqual ( file ) ) sRC.Nullify();
|
||||
if ( ! sRC.IsNull() ) {
|
||||
struct stat buf;
|
||||
if ( ! stat ( file, &buf ) && buf.st_mtime != mtime ) {
|
||||
if ( ! stat ( file, &buf ) && (Standard_Time)buf.st_mtime != mtime ) {
|
||||
sRC.Nullify();
|
||||
mtime = buf.st_mtime;
|
||||
}
|
||||
|
Reference in New Issue
Block a user