diff options
author | Erkin Bahceci <erkinbah@gmail.com> | 2009-08-21 21:55:41 -0500 |
---|---|---|
committer | Erkin Bahceci <erkinbah@gmail.com> | 2009-08-21 21:55:41 -0500 |
commit | f03d3057100193256aa83963081186bd153de64b (patch) | |
tree | cf8f207e16a7029ac6a42050091e4acf08408c08 /src | |
parent | 64b23870a773f409a90e2b40abdacd987b29438c (diff) | |
download | zcomp-f03d3057100193256aa83963081186bd153de64b.tar.gz zcomp-f03d3057100193256aa83963081186bd153de64b.tar.bz2 |
Silence some warnings.
Diffstat (limited to 'src')
-rw-r--r-- | src/pluginclasses.cpp | 2 |
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) |