summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/domain_info_utils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/util/domain_info_utils.c b/src/util/domain_info_utils.c
index b41864432..fc4287076 100644
--- a/src/util/domain_info_utils.c
+++ b/src/util/domain_info_utils.c
@@ -160,7 +160,6 @@ find_subdomain_by_object_name(struct sss_domain_info *domain,
TALLOC_CTX *tmp_ctx;
struct sss_domain_info *dom = NULL;
char *domainname = NULL;
- char *name = NULL;
errno_t ret;
tmp_ctx = talloc_new(NULL);
@@ -170,7 +169,7 @@ find_subdomain_by_object_name(struct sss_domain_info *domain,
}
ret = sss_parse_name(tmp_ctx, domain->names, object_name,
- &domainname, &name);
+ &domainname, NULL);
if (ret != EOK) {
DEBUG(SSSDBG_CRIT_FAILURE, "Unable to parse name '%s' [%d]: %s\n",
object_name, ret, sss_strerror(ret));