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

Fix some 'declaration hides' warnings.

We were for example getting many of these:
\audacity\src\widgets\numerictextctrl.h(171): warning C4458: declaration of 'value' hides class member

MSVC2013 didn't warn about these, but MSVC2017 does.
This commit is contained in:
James Crook
2018-06-27 12:36:13 +01:00
parent 3f92321547
commit 20178b15e1
8 changed files with 28 additions and 30 deletions

View File

@@ -66,7 +66,7 @@ void ODComputeSummaryTask::DoSomeInternal()
}
mBlockFilesMutex.Lock();
for(size_t i=0; i < mWaveTracks.size() && mBlockFiles.size();i++)
for(size_t j=0; j < mWaveTracks.size() && mBlockFiles.size();j++)
{
bool success = false;
const auto bf = mBlockFiles[0].lock();

View File

@@ -43,7 +43,7 @@ void ODDecodeTask::DoSomeInternal()
ODFileDecoder* decoder;
for(size_t i=0; i < mWaveTracks.size() && mBlockFiles.size();i++)
for(size_t j=0; j < mWaveTracks.size() && mBlockFiles.size();j++)
{
const auto bf = mBlockFiles[0].lock();
sampleCount blockStartSample = 0;