From fbe7be5ab951810c921192d2b639051814af7037 Mon Sep 17 00:00:00 2001 From: Alexander Block Date: Tue, 31 Dec 2019 15:25:24 +0100 Subject: [PATCH] Fixes for bitcoin#10843 backport --- src/test/test_dash_main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/test_dash_main.cpp b/src/test/test_dash_main.cpp index 802aaa83a5060..25b875cf28604 100644 --- a/src/test/test_dash_main.cpp +++ b/src/test/test_dash_main.cpp @@ -12,12 +12,12 @@ std::unique_ptr g_connman; -void Shutdown(void* parg) +[[noreturn]] void Shutdown(void* parg) { exit(EXIT_SUCCESS); } -void StartShutdown() +[[noreturn]] void StartShutdown() { exit(EXIT_SUCCESS); }