Messages: Return the unknown message if we get to the unhandled errorcode.

We shouldn't get there though.
This commit is contained in:
Michael Drake 2017-08-28 12:21:03 +01:00
parent ba0283f526
commit 41f30992aa
1 changed files with 1 additions and 0 deletions

View File

@ -452,6 +452,7 @@ const char *messages_get_errorcode(nserror code)
* never get here.
*/
assert(0);
return messages_get_ctx("Unknown", messages_hash);
}