From b28afd2bcc825e9fef415f3a256e39e4af1ae84e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 26 Feb 2010 10:53:06 +0100 Subject: s4:ldb_dn: fix an uninitialized variable (found by make valgrindtest) metze --- source4/lib/ldb/common/ldb_dn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/lib/ldb/common/ldb_dn.c b/source4/lib/ldb/common/ldb_dn.c index ef4cead0e1..04e769f031 100644 --- a/source4/lib/ldb/common/ldb_dn.c +++ b/source4/lib/ldb/common/ldb_dn.c @@ -805,7 +805,7 @@ static int ldb_dn_extended_component_compare(const void *p1, const void *p2) char *ldb_dn_get_extended_linearized(void *mem_ctx, struct ldb_dn *dn, int mode) { const char *linearized = ldb_dn_get_linearized(dn); - char *p; + char *p = NULL; int i; if (!linearized) { -- cgit