command/error: remove playlist_domain from ToAck(Error)

playlist_domain is no longer used for class Error.
This commit is contained in:
Max Kellermann 2016-02-28 11:17:43 +01:00
parent 347590751c
commit 304d78a4c8

View File

@ -141,9 +141,7 @@ gcc_pure
static enum ack
ToAck(const Error &error)
{
if (error.IsDomain(playlist_domain)) {
return ToAck((PlaylistResult)error.GetCode());
} else if (error.IsDomain(ack_domain)) {
if (error.IsDomain(ack_domain)) {
return (enum ack)error.GetCode();
#ifdef ENABLE_DATABASE
} else if (error.IsDomain(db_domain)) {