From f30cf8fc7d7f7c02f7fae4fa113ef32fc790c31a Mon Sep 17 00:00:00 2001 From: cbdev Date: Sat, 27 Jul 2019 19:44:52 +0200 Subject: Fix uninitialized value --- backends/osc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backends/osc.c') diff --git a/backends/osc.c b/backends/osc.c index 3f19abf..18c8bad 100644 --- a/backends/osc.c +++ b/backends/osc.c @@ -499,7 +499,7 @@ static int osc_register_pattern(osc_instance_data* data, char* pattern_path, cha static int osc_configure_instance(instance* inst, char* option, char* value){ osc_instance_data* data = (osc_instance_data*) inst->impl; - char* host = NULL, *port = NULL, *token = NULL; + char* host = NULL, *port = NULL; if(!strcmp(option, "root")){ if(osc_path_validate(value, 0)){ @@ -708,7 +708,7 @@ static int osc_output_channel(instance* inst, size_t channel){ static int osc_set(instance* inst, size_t num, channel** c, channel_value* v){ size_t evt = 0, mark = 0; - int rv; + int rv = 0; osc_channel_ident ident = { .label = 0 }; -- cgit v1.2.3