diff options
author | David Robillard <d@drobilla.net> | 2007-07-26 09:29:48 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-07-26 09:29:48 +0000 |
commit | 6a589a9e4980fbd924c7df343d449a7886091dda (patch) | |
tree | 438e62c497f1ad2b76e9f1cf06dc797d16a0559e /src | |
parent | 66a7b635331baaa483ba3cc27aef6c244f9a98df (diff) | |
download | lilv-6a589a9e4980fbd924c7df343d449a7886091dda.tar.gz lilv-6a589a9e4980fbd924c7df343d449a7886091dda.tar.bz2 lilv-6a589a9e4980fbd924c7df343d449a7886091dda.zip |
Fix possible missed plugin search when list size == 1.
git-svn-id: http://svn.drobilla.net/lad/slv2@633 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/pluginclasses.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/pluginclasses.c b/src/pluginclasses.c index cac944c..5cf56ec 100644 --- a/src/pluginclasses.c +++ b/src/pluginclasses.c @@ -58,9 +58,6 @@ slv2_plugin_classes_get_by_uri(SLV2PluginClasses list, const char* uri) int upper = raptor_sequence_size(list) - 1; int i; - if (upper == 0) - return NULL; - while (upper >= lower) { i = lower + ((upper - lower) / 2); |