summaryrefslogtreecommitdiffstats
path: root/src/server/internals/Note.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/internals/Note.cpp')
-rw-r--r--src/server/internals/Note.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/internals/Note.cpp b/src/server/internals/Note.cpp
index 1a21ed37..6eb6ffb2 100644
--- a/src/server/internals/Note.cpp
+++ b/src/server/internals/Note.cpp
@@ -195,8 +195,8 @@ NoteNode::note_on(ProcessContext& context, uint8_t note_num, uint8_t velocity, F
assert(time >= context.start() && time <= context.end());
assert(note_num <= 127);
- Key* key = &_keys[note_num];
- Voice* voice = NULL;
+ Key* key = &_keys[note_num];
+ Voice* voice = NULL;
uint32_t voice_num = 0;
if (key->state != Key::OFF) {