diff options
author | David Robillard <d@drobilla.net> | 2016-07-14 15:06:38 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-07-14 15:47:47 -0400 |
commit | 84ec2ee47279f87b4ed9ee44c9153f52a97732da (patch) | |
tree | 33ff024e51103ce035e51206ba1d8ba609769a30 /src/lib.c | |
parent | 9da2f26c8a8fcd533c61e9cfafb92a653131f285 (diff) | |
download | lilv-84ec2ee47279f87b4ed9ee44c9153f52a97732da.tar.gz lilv-84ec2ee47279f87b4ed9ee44c9153f52a97732da.tar.bz2 lilv-84ec2ee47279f87b4ed9ee44c9153f52a97732da.zip |
Clean up and remove dead code
Diffstat (limited to 'src/lib.c')
-rw-r--r-- | src/lib.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -87,8 +87,7 @@ lilv_lib_get_plugin(LilvLib* lib, uint32_t index) { if (lib->lv2_descriptor) { return lib->lv2_descriptor(index); - } - if (lib->desc) { + } else if (lib->desc) { return lib->desc->get_plugin(lib->desc->handle, index); } return NULL; |