diff options
author | llyyr <llyyr.public@gmail.com> | 2023-10-23 19:34:59 +0530 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2023-10-24 22:49:22 +0200 |
commit | 06c26e37edbea4a9deb3c55f6f7b8ea10fea69e8 (patch) | |
tree | 6a6c48291a5d6908eb5d3fc7b9090031363bfe81 /etc/builtin.conf | |
parent | 36403e5fd388f1421190ffe66da1eedfae5892ff (diff) | |
download | mpv-06c26e37edbea4a9deb3c55f6f7b8ea10fea69e8.tar.bz2 mpv-06c26e37edbea4a9deb3c55f6f7b8ea10fea69e8.tar.xz |
osdep: fix clang warnings with `_FORTIFY_SOURCE`
This fixes warnings generated for `-Wunused-result` when mpv is built
with `-O1 -D_FORTIFY_SOURCE=1` or higher on clang since read/write
functions are declared with the `warn_unused_result` attribute.
Cast to void to avoid these warnings.
Diffstat (limited to 'etc/builtin.conf')
0 files changed, 0 insertions, 0 deletions