Add -Wno-unused-result

Fixes #1744
This commit is contained in:
Drew DeVault 2018-04-05 15:23:59 -04:00
parent 94ecd0f0aa
commit 842a3ea45c

View file

@ -11,6 +11,7 @@ project(
add_project_arguments('-Wno-unused-parameter', language: 'c') add_project_arguments('-Wno-unused-parameter', language: 'c')
add_project_arguments('-Wno-unused-function', language: 'c') add_project_arguments('-Wno-unused-function', language: 'c')
add_project_arguments('-Wno-unused-result', language: 'c')
cc = meson.get_compiler('c') cc = meson.get_compiler('c')