Skip to content

Commit 3e0cf73

Browse files
committed
meson: use ternary op for brevity
1 parent 7eff3e2 commit 3e0cf73

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/fuzz/meson.build

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,7 @@ else
4646
endif
4747

4848
fuzz_c_args = get_option('c_args')
49-
if cxx_cmd != ''
50-
fuzz_cpp_args = get_option('cpp_args')
51-
else
52-
fuzz_cpp_args = []
53-
endif
49+
fuzz_cpp_args = cxx_cmd != '' ? get_option('cpp_args') : []
5450

5551
sanitize_address_undefined = custom_target(
5652
'sanitize-address-undefined-fuzzers',

0 commit comments

Comments
 (0)