From: Zbigniew Jędrzejewski-Szmek Date: Wed, 15 Nov 2023 13:47:17 +0000 (+0100) Subject: meson: use ternary op for brevity X-Git-Tag: v255-rc2~2^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e0cf732435faba34aa16f315d8a47e924734589;p=thirdparty%2Fsystemd.git meson: use ternary op for brevity --- diff --git a/test/fuzz/meson.build b/test/fuzz/meson.build index b6bcb525515..54cbb75532d 100644 --- a/test/fuzz/meson.build +++ b/test/fuzz/meson.build @@ -46,11 +46,7 @@ else endif fuzz_c_args = get_option('c_args') -if cxx_cmd != '' - fuzz_cpp_args = get_option('cpp_args') -else - fuzz_cpp_args = [] -endif +fuzz_cpp_args = cxx_cmd != '' ? get_option('cpp_args') : [] sanitize_address_undefined = custom_target( 'sanitize-address-undefined-fuzzers',