diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2021-01-14 13:38:14 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2021-01-14 13:38:14 +0300 |
commit | 442b6e5e09510e938dba558bed5bd125ffe4a0c1 (patch) | |
tree | baaba0f3e6b90721dda94a423f9277ad655a99e4 /source/blender/nodes | |
parent | 024ac9c089d217a1a357f133c4dbfc01b85112e9 (diff) |
MeshCache: add error handling to `fread()` calls
Handle return value of `fread()`, by showing an error message when the
file cannot be read from and stopping further processing. Not only is
error handing a good idea, it also prevents GCC from warning that the
return value of `fread()` should not be ignored.
This is similar to {D9916}.
Reviewed By: campbellbarton
Differential Revision: https://developer.blender.org/D10079
Diffstat (limited to 'source/blender/nodes')
0 files changed, 0 insertions, 0 deletions