From 0821550b4d304da8b5f092a75311f13d288dee95 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 14 Dec 2020 16:04:45 +0100 Subject: Initialize all variables --- src/jack.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/jack.c') diff --git a/src/jack.c b/src/jack.c index 6013c96..408746c 100644 --- a/src/jack.c +++ b/src/jack.c @@ -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) { -- cgit v1.2.1