aboutsummaryrefslogtreecommitdiffhomepage
path: root/backends
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2019-07-27 19:44:52 +0200
committercbdev <cb@cbcdn.com>2019-07-27 19:44:52 +0200
commitf30cf8fc7d7f7c02f7fae4fa113ef32fc790c31a (patch)
treef99a0e250205b2e6987579ff95c17aab627eb4dc /backends
parent26ee2eacc7d60aa379c9e4b9b9c6b8bcdcd4bc6b (diff)
downloadmidimonster-f30cf8fc7d7f7c02f7fae4fa113ef32fc790c31a.tar.gz
midimonster-f30cf8fc7d7f7c02f7fae4fa113ef32fc790c31a.tar.bz2
midimonster-f30cf8fc7d7f7c02f7fae4fa113ef32fc790c31a.zip
Fix uninitialized value
Diffstat (limited to 'backends')
-rw-r--r--backends/osc.c4
1 files changed, 2 insertions, 2 deletions
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
};