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;
|
useOD=true;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// ANSWER-ME: Vigilant Sentry: Variable res unused after assignment (error code DA1)
|
// TO-DO: Vigilant Sentry: Variable res unused after assignment (error code DA1)
|
||||||
// Plus, it's not even declared in the LEGACY_FLAC clause
|
// Should check the result.
|
||||||
//#ifdef LEGACY_FLAC
|
#ifdef LEGACY_FLAC
|
||||||
// bool res = (mFile->process_until_end_of_file() != 0);
|
bool res = (mFile->process_until_end_of_file() != 0);
|
||||||
//#else
|
#else
|
||||||
// bool res = true;
|
bool res = true;
|
||||||
// if(!useOD)
|
if(!useOD)
|
||||||
// res = (mFile->process_until_end_of_stream() != 0);
|
res = (mFile->process_until_end_of_stream() != 0);
|
||||||
//#endif
|
#endif
|
||||||
|
|
||||||
//add the task to the ODManager
|
//add the task to the ODManager
|
||||||
if(useOD)
|
if(useOD)
|
||||||
|
Reference in New Issue
Block a user