-static const int SYSEX_DATA_OFS = sizeof(line6_midi_id) + 3;
-static const int SYSEX_EXTRA_SIZE = sizeof(line6_midi_id) + 4;
+static __maybe_unused const int SYSEX_DATA_OFS = sizeof(line6_midi_id) + 3;
+static __maybe_unused const int SYSEX_EXTRA_SIZE = sizeof(line6_midi_id) + 4;
IMO, this can be clearer to make them define.
The static const doesn't look like a right usage in such a case in
anyway...
Right, and the capital letters do hint at a define indeed. Will resend,
thanks Takashi for the review.