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

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to