summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorErkin Bahceci <erkinbah@gmail.com>2009-08-21 21:55:41 -0500
committerErkin Bahceci <erkinbah@gmail.com>2009-08-21 21:55:41 -0500
commitf03d3057100193256aa83963081186bd153de64b (patch)
treecf8f207e16a7029ac6a42050091e4acf08408c08 /src
parent64b23870a773f409a90e2b40abdacd987b29438c (diff)
downloadzcomp-f03d3057100193256aa83963081186bd153de64b.tar.gz
zcomp-f03d3057100193256aa83963081186bd153de64b.tar.bz2
Silence some warnings.
Diffstat (limited to 'src')
-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)