From 206c176beaa21295bc2aca06da0d75a34924fef4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 16 Dec 2020 17:00:22 +0100 Subject: Isolate variable declarations and initialize all variables --- test/test.lv2/test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/test.lv2/test.c') diff --git a/test/test.lv2/test.c b/test/test.lv2/test.c index fa3fb6e..b3ddd85 100644 --- a/test/test.lv2/test.c +++ b/test/test.lv2/test.c @@ -350,9 +350,9 @@ restore(LV2_Handle instance, } } - size_t size; - uint32_t type; - uint32_t valflags; + size_t size = 0; + uint32_t type = 0; + uint32_t valflags = 0; plugin->num_runs = *(int32_t*)retrieve( callback_data, -- cgit v1.2.1