diff options
author | David Robillard <d@drobilla.net> | 2018-09-29 13:46:38 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-11-10 11:45:15 +0100 |
commit | 9bf6ccb34caf39a17973570a7ba056b5579f4587 (patch) | |
tree | 00deb3c9133de6025b0f57e32c7118db0b7510b9 /src | |
parent | 10795f4e9262b7927ecdc845273888c37fbac685 (diff) | |
download | jalv-9bf6ccb34caf39a17973570a7ba056b5579f4587.tar.gz jalv-9bf6ccb34caf39a17973570a7ba056b5579f4587.tar.bz2 jalv-9bf6ccb34caf39a17973570a7ba056b5579f4587.zip |
Remove unnecessary preallocation
Diffstat (limited to 'src')
-rw-r--r-- | src/jalv_console.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/jalv_console.c b/src/jalv_console.c index e12b050..07e97c6 100644 --- a/src/jalv_console.c +++ b/src/jalv_console.c @@ -69,9 +69,6 @@ jalv_ui_port_event(ZIX_UNUSED Jalv* jalv, int jalv_init(int* argc, char*** argv, JalvOptions* opts) { - opts->controls = (char**)malloc(sizeof(char*)); - opts->controls[0] = NULL; - int n_controls = 0; int a = 1; for (; a < *argc && (*argv)[a][0] == '-'; ++a) { |