Files
test/intern
Sybren A. Stüvel 97510267f1 Cleanup: silence compiler warning about unused result of ftruncate()
`ftruncate()` is annotated such that the compiler (at least GCC 13)
warns when the returned status is not used.

This commit adds a `GHOST_ASSERT()` to check that result in debug
builds. In non-debug builds it's discarded without checking, but
explicitly as to not trigger this warning.

No functional changes.

Pull Request: https://projects.blender.org/blender/blender/pulls/132108
2025-01-06 11:29:37 +01:00
..
2024-09-20 13:14:57 +10:00
2024-01-03 13:38:14 +01:00
2024-07-30 12:23:09 +10:00