diff options
author | David Robillard <d@drobilla.net> | 2020-12-14 16:04:45 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-12-14 16:04:45 +0100 |
commit | 0821550b4d304da8b5f092a75311f13d288dee95 (patch) | |
tree | c3bb1c4ba1d497075840b3a820feb4d5164a26c6 /src/jack.c | |
parent | 15693714974fd4af7a9bee3e6a0c0f6f439dfde6 (diff) | |
download | jalv-0821550b4d304da8b5f092a75311f13d288dee95.tar.gz jalv-0821550b4d304da8b5f092a75311f13d288dee95.tar.bz2 jalv-0821550b4d304da8b5f092a75311f13d288dee95.zip |
Initialize all variables
Diffstat (limited to 'src/jack.c')
-rw-r--r-- | src/jack.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -236,8 +236,11 @@ jack_process_cb(jack_nframes_t nframes, void* data) lv2_evbuf_is_valid(i); i = lv2_evbuf_next(i)) { // Get event from LV2 buffer - uint32_t frames, subframes, type, size; - uint8_t* body; + uint32_t frames = 0; + uint32_t subframes = 0; + uint32_t type = 0; + uint32_t size = 0; + uint8_t* body = NULL; lv2_evbuf_get(i, &frames, &subframes, &type, &size, &body); if (buf && type == jalv->urids.midi_MidiEvent) { |