Avoid shadowing an existing variable
This commit is contained in:
parent
71ae5943c9
commit
c8c60be0dd
1 changed files with 3 additions and 3 deletions
|
|
@ -220,9 +220,9 @@ absl::optional<sfz::FileInformation> sfz::FilePool::getFileInformation(const Fil
|
|||
|
||||
if (!reader->getInstrument(&instrumentInfo)) {
|
||||
// if no instrument, then try extracting from embedded RIFF chunks (flac)
|
||||
FileMetadataReader reader;
|
||||
if (reader.open(file))
|
||||
reader.extractRiffInstrument(instrumentInfo);
|
||||
FileMetadataReader mdReader;
|
||||
if (mdReader.open(file))
|
||||
mdReader.extractRiffInstrument(instrumentInfo);
|
||||
}
|
||||
|
||||
if (!fileId.isReverse()) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue