Blender Git Commit Log
Git Commits -> Revision 573bda1
Revision 573bda1 by Sergey Sharybin (master) January 28, 2021, 10:05 (GMT) |
Fix unused result from mmap() call The unused result was reported by Clang-Tidy 11. It does make sense to check for the failed mmap() calls rather than quietly suppress errors. In this change failures are reported, but application execution is not aborted. This is a bit disputable, but it feels to be a safer thing to do now. It is unclear how to test the code though, as we don't have any tools in-place to simulate read errors. Differential Revision: https://developer.blender.org/D10223 |
Commit Details:
Full Hash: 573bda1fae5fbdaf676110ad4ab8be2fed9d766b
Parent Commit: 92567c0
Lines Changed: +5, -1
1 Modified Path:
/source/blender/blenlib/intern/BLI_mmap.c (+5, -1) (Diff)