mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
cleanup (requires update-workspaces)
lib_errors.cpp: replace with status.cpp, adapt to needs at work wutil: fix runtime warning reported via feedback box config: merge CONFIG_PARANOIA and !CONFIG_FINAL into CONFIG_ENABLE_CHECKS add openmp, pointer_typedefs.h This was SVN commit r9410.
This commit is contained in:
@@ -29,7 +29,7 @@ CCacheLoader::CCacheLoader(PIVFS vfs, const std::wstring& fileExtension) :
|
||||
{
|
||||
}
|
||||
|
||||
LibError CCacheLoader::TryLoadingCached(const VfsPath& sourcePath, const MD5& initialHash, u32 version, VfsPath& loadPath)
|
||||
Status CCacheLoader::TryLoadingCached(const VfsPath& sourcePath, const MD5& initialHash, u32 version, VfsPath& loadPath)
|
||||
{
|
||||
VfsPath archiveCachePath = ArchiveCachePath(sourcePath);
|
||||
|
||||
@@ -41,7 +41,7 @@ LibError CCacheLoader::TryLoadingCached(const VfsPath& sourcePath, const MD5& in
|
||||
}
|
||||
|
||||
// Fail if no source or archive cache
|
||||
LibError err = m_VFS->GetFileInfo(sourcePath, NULL);
|
||||
Status err = m_VFS->GetFileInfo(sourcePath, NULL);
|
||||
if (err < 0)
|
||||
{
|
||||
LOGERROR(L"Failed to find file: \"%ls\"", sourcePath.string().c_str());
|
||||
|
||||
Reference in New Issue
Block a user