1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 14:02:57 +02:00

More unused parameters and local variables.

This commit is contained in:
James Crook
2016-09-12 12:33:44 +01:00
parent e39cdce0fc
commit 4eeef25191
6 changed files with 11 additions and 6 deletions

View File

@@ -289,7 +289,10 @@ bool SnapManager::SnapToPoints(Track *currentTrack,
return true;
}
size_t indexInThisTrack = -1;
// indexInThisTrack is ONLY used if count > 0
// and is initialised then, so we can 'initialise' it
// to anything to keep compiler quiet.
size_t indexInThisTrack = left;
size_t countInThisTrack = 0;
for (i = left; i <= right; ++i)
{