meson: Warn about unused variables

This commit is contained in:
Rafał Dzięgiel
2021-08-28 10:27:44 +02:00
parent 1f6e439632
commit 9328a7af75

8
lib/meson.build vendored
View File

@@ -256,14 +256,6 @@ cdata.set('DISABLE_ORC', 1)
cdata.set('GST_ENABLE_EXTRA_CHECKS', get_option('devel-checks'))
cdata.set_quoted('GST_PACKAGE_RELEASE_DATETIME', 'Unknown')
message('GStreamer debug system is disabled')
if cc.has_argument('-Wno-unused')
add_project_arguments('-Wno-unused', language: 'c')
endif
if cxx.has_argument ('-Wno-unused')
add_project_arguments('-Wno-unused', language: 'cpp')
endif
configinc = include_directories('.')
libsinc = include_directories('gst')