1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-19 17:11:12 +02:00

Commit a warnings removal patch from Benjamin Drung to correct a string of minor misdemeanors.

This commit is contained in:
richardash1981
2011-02-07 20:24:04 +00:00
parent 22b64149de
commit 2a7c7de30d
13 changed files with 37 additions and 30 deletions

View File

@@ -65,8 +65,8 @@ void ODComputeSummaryTask::DoSomeInternal()
}
ODPCMAliasBlockFile* bf;
sampleCount blockStartSample;
sampleCount blockEndSample;
sampleCount blockStartSample = 0;
sampleCount blockEndSample = 0;
bool success =false;
mBlockFilesMutex.Lock();
@@ -281,4 +281,4 @@ void ODComputeSummaryTask::OrderBlockFiles(std::vector<ODPCMAliasBlockFile*> &un
unorderedBlocks[i]->Deref();
}
}
}
}

View File

@@ -41,8 +41,8 @@ void ODDecodeTask::DoSomeInternal()
ODDecodeBlockFile* bf;
ODFileDecoder* decoder;
sampleCount blockStartSample;
sampleCount blockEndSample;
sampleCount blockStartSample = 0;
sampleCount blockEndSample = 0;
bool success =false;
for(size_t i=0; i < mWaveTracks.size() && mBlockFiles.size();i++)

View File

@@ -434,7 +434,7 @@ bool ODManager::MakeWaveTrackDependent(WaveTrack* dependentTrack,WaveTrack* mast
//then delete this one.
ODWaveTrackTaskQueue* masterQueue=NULL;
ODWaveTrackTaskQueue* dependentQueue=NULL;
unsigned int dependentIndex;
unsigned int dependentIndex = 0;
bool canMerge = false;
mQueuesMutex.Lock();