Missing return statement in error_process_messages
This commit is contained in:
parent
15e7db04de
commit
78182b6314
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue