[Scummvm-git-logs] scummvm master -> 5aab0d9a95099471e60304d6e2a3657028f76c4d

mistydemeo noreply at scummvm.org
Sun Feb 9 06:34:54 UTC 2025


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
5aab0d9a95 AUDIO: remove orphaned constants


Commit: 5aab0d9a95099471e60304d6e2a3657028f76c4d
    https://github.com/scummvm/scummvm/commit/5aab0d9a95099471e60304d6e2a3657028f76c4d
Author: Misty De Meo (mistydemeo at gmail.com)
Date: 2025-02-08T22:34:27-08:00

Commit Message:
AUDIO: remove orphaned constants

These are no longer used after debe30b25e666a1ef26a2550e6826cd1adba5810.

Changed paths:
    audio/midiparser_smf.cpp


diff --git a/audio/midiparser_smf.cpp b/audio/midiparser_smf.cpp
index a207f489a10..1b0ec04f2a0 100644
--- a/audio/midiparser_smf.cpp
+++ b/audio/midiparser_smf.cpp
@@ -26,9 +26,6 @@
 #include "common/textconsole.h"
 #include "common/util.h"
 
-static const byte commandLengths[8] = { 3, 3, 3, 3, 2, 2, 3, 0 };
-static const byte specialLengths[16] = { 0, 2, 3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 };
-
 MidiParser_SMF::MidiParser_SMF(int8 source) : MidiParser(source) {
 	for (int i = 0; i < ARRAYSIZE(_noteChannelToTrack); i++)
 		_noteChannelToTrack[i] = -1;




More information about the Scummvm-git-logs mailing list