command/error: remove playlist_domain from ToAck(Error)
playlist_domain is no longer used for class Error.
This commit is contained in:
parent
347590751c
commit
304d78a4c8
@ -141,9 +141,7 @@ gcc_pure
|
|||||||
static enum ack
|
static enum ack
|
||||||
ToAck(const Error &error)
|
ToAck(const Error &error)
|
||||||
{
|
{
|
||||||
if (error.IsDomain(playlist_domain)) {
|
if (error.IsDomain(ack_domain)) {
|
||||||
return ToAck((PlaylistResult)error.GetCode());
|
|
||||||
} else if (error.IsDomain(ack_domain)) {
|
|
||||||
return (enum ack)error.GetCode();
|
return (enum ack)error.GetCode();
|
||||||
#ifdef ENABLE_DATABASE
|
#ifdef ENABLE_DATABASE
|
||||||
} else if (error.IsDomain(db_domain)) {
|
} else if (error.IsDomain(db_domain)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user