mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-07-15 02:36:08 -04:00
Removed obsolete code
This commit is contained in:
7
File.cpp
7
File.cpp
@ -886,13 +886,6 @@ int32_t File::doesExist ( ) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// log & return -1 on any other error
|
||||
if ( ! g_errno ) {
|
||||
log(LOG_ERROR, "process: you tried to overload __errno_location() "
|
||||
"but were unsuccessful. you need to be using pthreads.");
|
||||
g_process.shutdownAbort(true);
|
||||
}
|
||||
|
||||
log( LOG_ERROR, "disk: error stat3(%s): %s", getFilename() , strerror(g_errno));
|
||||
return -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user