[Bf-blender-cvs] [0921f46f67d] temp-cpp-file-system: Remove wrong changes

Julian Eisel noreply at git.blender.org
Tue Aug 3 18:59:47 CEST 2021


Commit: 0921f46f67d5236817aff8526105ab39724eb157
Author: Julian Eisel
Date:   Tue Aug 3 18:58:59 2021 +0200
Branches: temp-cpp-file-system
https://developer.blender.org/rB0921f46f67d5236817aff8526105ab39724eb157

Remove wrong changes

===================================================================

M	source/blender/blenlib/intern/storage.cc

===================================================================

diff --git a/source/blender/blenlib/intern/storage.cc b/source/blender/blenlib/intern/storage.cc
index 861de916e4f..e416e815e65 100644
--- a/source/blender/blenlib/intern/storage.cc
+++ b/source/blender/blenlib/intern/storage.cc
@@ -392,13 +392,13 @@ int BLI_file_mode(const char *path)
 
   free(tmp_16);
   if (res == -1) {
-    return false;
+    return 0;
   }
 #else
   struct stat st;
   BLI_assert(!BLI_path_is_rel(path));
   if (stat(path, &st)) {
-    return false;
+    return 0;
   }
 #endif



More information about the Bf-blender-cvs mailing list