minor cleanup

This commit is contained in:
emeric
2025-04-06 11:24:20 +02:00
parent aa281bbd22
commit 15c5f0b89b
@@ -532,8 +532,7 @@ namespace lms::api::subsonic
if (!artist) if (!artist)
throw RequestedDataNotFoundError{}; throw RequestedDataNotFoundError{};
std::optional<core::UUID> artistMBID{ artist->getMBID() }; if (const std::optional<core::UUID> artistMBID{ artist->getMBID() })
if (artistMBID)
{ {
switch (context.responseFormat) switch (context.responseFormat)
{ {