From 62b4eeac9296f2473ee9005fea5894fc0f920e30 Mon Sep 17 00:00:00 2001 From: elianalf <62831776+elianalf@users.noreply.github.com> Date: Mon, 15 Apr 2024 16:06:22 +0200 Subject: [PATCH] Refs #20732: Apply suggestions Signed-off-by: elianalf <62831776+elianalf@users.noreply.github.com> --- fuzz/C++/fuzz_XMLProfiles/fuzz_XMLProfiles.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/fuzz/C++/fuzz_XMLProfiles/fuzz_XMLProfiles.cxx b/fuzz/C++/fuzz_XMLProfiles/fuzz_XMLProfiles.cxx index ee2756df5e1..c5f953147f5 100644 --- a/fuzz/C++/fuzz_XMLProfiles/fuzz_XMLProfiles.cxx +++ b/fuzz/C++/fuzz_XMLProfiles/fuzz_XMLProfiles.cxx @@ -22,10 +22,7 @@ extern "C" int LLVMFuzzerTestOneInput( return EXIT_FAILURE; } - if (ReturnCode_t::RETCODE_OK != fastdds::dds::DomainParticipantFactory::get_instance()->load_XML_profiles_string(reinterpret_cast(data), size)) - { - return EXIT_FAILURE; - } + fastdds::dds::DomainParticipantFactory::get_instance()->load_XML_profiles_string(reinterpret_cast(data), size); return 0; }