From d71a497df529c583081a656b4154bd731b43ff5b Mon Sep 17 00:00:00 2001 From: Alastair Robertson Date: Fri, 19 May 2023 07:26:08 -0700 Subject: [PATCH] Fix compiler warnings in folly_shims.cpp --- test/integration/folly_shims.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/integration/folly_shims.cpp b/test/integration/folly_shims.cpp index 5fc86d8..c2a82b4 100644 --- a/test/integration/folly_shims.cpp +++ b/test/integration/folly_shims.cpp @@ -8,11 +8,14 @@ namespace detail { // requires safe_assert_terminate() to be defined. To avoid building and // linking against folly, we define our own no-op version of this function here. template <> -void safe_assert_terminate(safe_assert_arg const* arg, ...) noexcept { +void safe_assert_terminate(safe_assert_arg const* /*arg*/, + ...) noexcept { + abort(); } template <> -void safe_assert_terminate(safe_assert_arg const* arg, ...) noexcept { +void safe_assert_terminate(safe_assert_arg const* /*arg*/, ...) noexcept { + abort(); } } // namespace detail