From 78182b631496ecc178ef569804880311595c21da Mon Sep 17 00:00:00 2001 From: cryptocode Date: Thu, 6 Sep 2018 02:16:00 +0200 Subject: [PATCH] Missing return statement in error_process_messages --- rai/lib/errors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rai/lib/errors.cpp b/rai/lib/errors.cpp index d686e3a3..3539167d 100644 --- a/rai/lib/errors.cpp +++ b/rai/lib/errors.cpp @@ -164,7 +164,7 @@ std::string nano::error_process_messages::message (int ev) const case nano::error_process::block_position: return "This block cannot follow the previous block"; case nano::error_process::other: - "Error processing block"; + return "Error processing block"; } return "Invalid error code";