From 3e0cf732435faba34aa16f315d8a47e924734589 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 15 Nov 2023 14:47:17 +0100 Subject: [PATCH] meson: use ternary op for brevity --- test/fuzz/meson.build | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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', -- 2.47.3