meson: Enable compiler warnings on unused result and global shadows

This commit is contained in:
Martin Lund 2025-04-29 17:42:22 +02:00
parent 5d915134a3
commit f887756a71

View file

@ -53,7 +53,7 @@ if host_machine.system() == 'darwin'
tio_dep += [iokit_dep, corefoundation_dep] tio_dep += [iokit_dep, corefoundation_dep]
endif endif
tio_c_args = ['-Wno-unused-result'] tio_c_args = ['-Wshadow']
if enable_setspeed2 if enable_setspeed2
tio_c_args += '-DHAVE_TERMIOS2' tio_c_args += '-DHAVE_TERMIOS2'