diff options
author | David Robillard <d@drobilla.net> | 2020-09-27 18:15:25 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-09-27 18:15:25 +0200 |
commit | 9b9ca021d6401097d32d96d27de6f906a0252109 (patch) | |
tree | e29ecfe51defb7a9dae50528631bfcce72eea001 /plugins | |
parent | 1e936e45560d6e398d41aaf36e04a7f491f06b37 (diff) | |
download | lv2-9b9ca021d6401097d32d96d27de6f906a0252109.tar.xz |
Initialize all variables
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/eg-params.lv2/state_map.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/eg-params.lv2/state_map.h b/plugins/eg-params.lv2/state_map.h index c80d4a2..740f0af 100644 --- a/plugins/eg-params.lv2/state_map.h +++ b/plugins/eg-params.lv2/state_map.h @@ -81,7 +81,7 @@ state_map_init(StateMapItem dict[], unsigned i = 0; va_list args; va_start(args, handle); - for (const char* uri; (uri = va_arg(args, const char*)); ++i) { + for (const char* uri = NULL; (uri = va_arg(args, const char*)); ++i) { const char* type = va_arg(args, const char*); const uint32_t size = va_arg(args, uint32_t); LV2_Atom* const value = va_arg(args, LV2_Atom*); |