summaryrefslogtreecommitdiffstats
path: root/src/pluginclasses.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pluginclasses.c')
-rw-r--r--src/pluginclasses.c3
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);