Skip to content

Commit 0b2df35

Browse files
authored
Removed unused code. (#100)
1 parent 17bc005 commit 0b2df35

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

include/RhythmGameUtilities/Utilities.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ int ConvertSecondsToTicks(float seconds, int resolution,
4545
auto remainingSeconds = seconds;
4646
auto previousTick = 0;
4747
auto previousBPM = tempoChangesIterator->BPM / 1000.0;
48-
auto previousTimeSignature = timeSignatureIterator->Numerator;
4948

5049
while (remainingSeconds > 0)
5150
{
@@ -82,7 +81,6 @@ int ConvertSecondsToTicks(float seconds, int resolution,
8281

8382
if (nextChangeTick == nextTimeSignatureChange)
8483
{
85-
previousTimeSignature = timeSignatureIterator->Numerator;
8684
++timeSignatureIterator;
8785
}
8886
}
@@ -147,7 +145,6 @@ std::vector<BeatBar> CalculateBeatBars(std::vector<Tempo> tempoChanges,
147145
for (auto tick = startTick; tick < endTick; tick += resolution)
148146
{
149147

150-
auto position = tick;
151148
auto bpm = tempoChangePositions[startTick];
152149

153150
beatBars.push_back({tick, bpm});

0 commit comments

Comments
 (0)