From 43776c4686e17574b43a9285ee9be7b346ea2fe1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Wo=CC=81jcik?= <3044353+pwojcikdev@users.noreply.github.com> Date: Tue, 21 May 2024 13:24:11 +0200 Subject: [PATCH] Fix compiler warning --- nano/node/active_elections.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nano/node/active_elections.cpp b/nano/node/active_elections.cpp index d4e5fbebd0..2385fdbcbe 100644 --- a/nano/node/active_elections.cpp +++ b/nano/node/active_elections.cpp @@ -566,6 +566,8 @@ nano::stat::type nano::active_elections::completion_type (nano::election const & return nano::stat::type::active_cancelled; break; } + debug_assert (false); + return {}; } /*