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)
throw RequestedDataNotFoundError{};
std::optional<core::UUID> artistMBID{ artist->getMBID() };
if (artistMBID)
if (const std::optional<core::UUID> artistMBID{ artist->getMBID() })
{
switch (context.responseFormat)
{