Fixed coverity issue CID 11461 (#1 of 1): DLS: Dead local store (FB.DLS_DEAD_LOCAL_STORE)
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/d969364d Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/d969364d Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/d969364d Branch: refs/heads/master Commit: d969364dafbd8a75eda01337839d2b69c7a74122 Parents: 11808ae Author: Rajani Karuturi <[email protected]> Authored: Wed Nov 5 16:56:13 2014 +0530 Committer: Rajani Karuturi <[email protected]> Committed: Thu Nov 6 09:38:22 2014 +0530 ---------------------------------------------------------------------- .../ldap/src/org/apache/cloudstack/api/command/LDAPConfigCmd.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d969364d/plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LDAPConfigCmd.java ---------------------------------------------------------------------- diff --git a/plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LDAPConfigCmd.java b/plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LDAPConfigCmd.java index a586ae8..a138e7d 100644 --- a/plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LDAPConfigCmd.java +++ b/plugins/user-authenticators/ldap/src/org/apache/cloudstack/api/command/LDAPConfigCmd.java @@ -30,7 +30,6 @@ import org.apache.cloudstack.api.BaseCmd; import org.apache.cloudstack.api.Parameter; import org.apache.cloudstack.api.ServerApiException; import org.apache.cloudstack.api.response.LDAPConfigResponse; -import org.apache.cloudstack.api.response.LdapConfigurationResponse; import org.apache.cloudstack.api.response.ListResponse; import org.apache.cloudstack.framework.config.dao.ConfigurationDao; import org.apache.cloudstack.framework.config.impl.ConfigurationVO; @@ -227,7 +226,7 @@ public class LDAPConfigCmd extends BaseCmd { } private boolean updateLDAP() { - LdapConfigurationResponse response = _ldapManager.addConfiguration(hostname, port); + _ldapManager.addConfiguration(hostname, port); /** * There is no query filter now. It is derived from ldap.user.object and ldap.search.group.principle
