diff options
author | Diegoisawesome <diego@domoreaweso.me> | 2018-09-25 01:32:13 -0500 |
---|---|---|
committer | Diegoisawesome <diego@domoreaweso.me> | 2018-09-25 01:32:24 -0500 |
commit | af4ff89e550455bbd503a44ac26ba6b1bc2857f7 (patch) | |
tree | effe488438af6b365afa38a820cdb35e9fc9f66e /tools/mid2agb/midi.cpp | |
parent | 48b65eecee4675415605b2734fe32f3048382a9c (diff) |
Comment out unused variable so GCC doesn't complain
Diffstat (limited to 'tools/mid2agb/midi.cpp')
-rw-r--r-- | tools/mid2agb/midi.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/mid2agb/midi.cpp b/tools/mid2agb/midi.cpp index 1458a32b3..8a84a0945 100644 --- a/tools/mid2agb/midi.cpp +++ b/tools/mid2agb/midi.cpp @@ -782,7 +782,7 @@ int CalculateCompressionScore(std::vector<Event>& events, int index) EventType lastType = events[index].type; std::int32_t lastDuration = 0x80000000; std::uint8_t lastNote = 0x80u; - std::int32_t lastParam2; + //std::int32_t lastParam2; if (events[index].time > 0) score++; @@ -846,7 +846,7 @@ int CalculateCompressionScore(std::vector<Event>& events, int index) // BUG: uses type instead of param1 lastParam1 = (std::uint8_t)events[i].type; // unused - lastParam2 = events[i].param2; + //lastParam2 = events[i].param2; lastType = events[i].type; if (events[i].time) |