file_systems/cdda: Set CDDB lookups based on the actual parameter.

Found by -Werror=set-but-unused.
This commit is contained in:
Augustin Cavalier 2018-11-23 17:59:35 -05:00
parent e0a6d5ceeb
commit 430f303fda

View File

@ -733,7 +733,7 @@ Volume::Mount(const char* device)
fRootNode->AddAttribute(kCddbIdAttribute, B_UINT32_TYPE, fDiscID);
// Add CD:do_lookup attribute.
SetCDDBLookupsEnabled(true);
SetCDDBLookupsEnabled(doLookup);
// Add CD:toc attribute.
fRootNode->AddAttribute(kTocAttribute, B_RAW_TYPE, true,