file_systems/cdda: Set CDDB lookups based on the actual parameter.
Found by -Werror=set-but-unused.
This commit is contained in:
parent
e0a6d5ceeb
commit
430f303fda
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user