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/jalv_console.c | |
parent | 15693714974fd4af7a9bee3e6a0c0f6f439dfde6 (diff) | |
download | jalv-0821550b4d304da8b5f092a75311f13d288dee95.tar.gz jalv-0821550b4d304da8b5f092a75311f13d288dee95.tar.bz2 jalv-0821550b4d304da8b5f092a75311f13d288dee95.zip |
Initialize all variables
Diffstat (limited to 'src/jalv_console.c')
-rw-r--r-- | src/jalv_console.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jalv_console.c b/src/jalv_console.c index f376333..d000826 100644 --- a/src/jalv_console.c +++ b/src/jalv_console.c @@ -165,8 +165,8 @@ static void jalv_process_command(Jalv* jalv, const char* cmd) { char sym[1024]; - uint32_t index; - float value; + uint32_t index = 0; + float value = 0.0f; if (!strncmp(cmd, "help", 4)) { fprintf(stderr, "Commands:\n" |