meson: -Wno-unused-result no longer needed

This commit is contained in:
Daniel Eklöf 2019-05-04 11:28:49 +02:00
parent 27a47a96ed
commit aa3e03355e

View file

@ -3,8 +3,7 @@ project('f00bar', 'c',
default_options: ['c_std=c11', 'warning_level=1', 'werror=true'])
add_project_arguments(
['-D_GNU_SOURCE',
'-Wno-unused-result'] +
['-D_GNU_SOURCE'] +
(get_option('core-plugins-as-shared-libraries') ?
['-DCORE_PLUGINS_AS_SHARED_LIBRARIES'] : []),
language: 'c',