Messages: Return the unknown message if we get to the unhandled errorcode.
We shouldn't get there though.
This commit is contained in:
parent
ba0283f526
commit
41f30992aa
|
@ -452,6 +452,7 @@ const char *messages_get_errorcode(nserror code)
|
|||
* never get here.
|
||||
*/
|
||||
assert(0);
|
||||
return messages_get_ctx("Unknown", messages_hash);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue