mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-10 16:43:33 +02:00
Fix bug 471.
This commit is contained in:
@@ -467,15 +467,15 @@ int FLACImportFileHandle::Import(TrackFactory *trackFactory,
|
||||
useOD=true;
|
||||
#endif
|
||||
|
||||
// ANSWER-ME: Vigilant Sentry: Variable res unused after assignment (error code DA1)
|
||||
// Plus, it's not even declared in the LEGACY_FLAC clause
|
||||
//#ifdef LEGACY_FLAC
|
||||
// bool res = (mFile->process_until_end_of_file() != 0);
|
||||
//#else
|
||||
// bool res = true;
|
||||
// if(!useOD)
|
||||
// res = (mFile->process_until_end_of_stream() != 0);
|
||||
//#endif
|
||||
// TO-DO: Vigilant Sentry: Variable res unused after assignment (error code DA1)
|
||||
// Should check the result.
|
||||
#ifdef LEGACY_FLAC
|
||||
bool res = (mFile->process_until_end_of_file() != 0);
|
||||
#else
|
||||
bool res = true;
|
||||
if(!useOD)
|
||||
res = (mFile->process_until_end_of_stream() != 0);
|
||||
#endif
|
||||
|
||||
//add the task to the ODManager
|
||||
if(useOD)
|
||||
|
Reference in New Issue
Block a user