ref: d31a3b9a2ea78839c1a7d0fc6dcac32b8920d831
parent: a298ba47b2d18c23b1ed9f9b222959295f040968
parent: 39b19ef81949d40dce389c10dfdef3a619750160
author: schellingb <[email protected]>
date: Tue Jul 10 13:34:07 EDT 2018
Merge pull request #18 from Reputeless/patch-1 Fix MSVC 2017 warning
--- a/tsf.h
+++ b/tsf.h
@@ -1307,7 +1307,7 @@
TSFDEF void tsf_note_off(tsf* f, int preset_index, int key)
{
- struct tsf_voice *v = f->voices, *vEnd = v + f->voiceNum, *vMatchFirst = TSF_NULL, *vMatchLast;
+ struct tsf_voice *v = f->voices, *vEnd = v + f->voiceNum, *vMatchFirst = TSF_NULL, *vMatchLast = TSF_NULL;
for (; v != vEnd; v++)
{
//Find the first and last entry in the voices list with matching preset, key and look up the smallest play index