diff options
author | George Hazan <george.hazan@gmail.com> | 2012-08-06 15:05:35 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-08-06 15:05:35 +0000 |
commit | 8b6aac48709ba9441f76afc7b79380cf99fc5189 (patch) | |
tree | 329f9e864e1e00f1db6235e29cd759aca32cc867 | |
parent | 942f84fef5dfcdb095e950c30275d6b81db8e8f6 (diff) |
this if() isn't needed anymore
git-svn-id: http://svn.miranda-ng.org/main/trunk@1382 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | src/modules/plugins/newplugins.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/modules/plugins/newplugins.cpp b/src/modules/plugins/newplugins.cpp index b03a5d8d34..3a07390076 100644 --- a/src/modules/plugins/newplugins.cpp +++ b/src/modules/plugins/newplugins.cpp @@ -103,13 +103,9 @@ bool hasMuuid(const BASIC_PLUGIN_INFO& bpi, const MUUID& uuid) int getDefaultPluginIdx(const MUUID& muuid)
{
- for (int i=0; i < SIZEOF(pluginDefault); i++) {
- if (pluginDefault[i].stdplugname == NULL)
- break;
-
+ for (int i=0; i < SIZEOF(pluginDefault); i++)
if (equalUUID(muuid, pluginDefault[i].uuid))
return i;
- }
return -1;
}
|