Disable compiler warning on unused result

This commit is contained in:
Martin Lund 2025-05-31 19:42:08 +02:00
parent 9d00cd3492
commit 8f33cff6ea

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 = ['-Wshadow'] tio_c_args = ['-Wshadow','-Wno-unused-result']
if enable_setspeed2 if enable_setspeed2
tio_c_args += '-DHAVE_TERMIOS2' tio_c_args += '-DHAVE_TERMIOS2'