summaryrefslogtreecommitdiff
path: root/src/pluginclasses.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pluginclasses.cpp')
-rw-r--r--src/pluginclasses.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pluginclasses.cpp b/src/pluginclasses.cpp
index ea5223f..df5d60f 100644
--- a/src/pluginclasses.cpp
+++ b/src/pluginclasses.cpp
@@ -61,7 +61,7 @@ PluginClassStorage::freePluginClassIndex (PluginClassStorage::Indices& iList,
{
unsigned int size = iList.size ();
- if (idx < 0 || idx >= size)
+ if (idx >= size)
return;
if (idx < size - 1)