From 2107ba5be87d6a9f7691cfcbe5411fa7174120b7 Mon Sep 17 00:00:00 2001 From: David Disseldorp Date: Wed, 2 Nov 2011 14:53:20 +0100 Subject: [PATCH] ldb: fix compiler warning Mixed declarations and code. Autobuild-User: David Disseldorp Autobuild-Date: Wed Nov 2 16:51:24 CET 2011 on sn-devel-104 --- lib/ldb/common/ldb_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ldb/common/ldb_parse.c b/lib/ldb/common/ldb_parse.c index 407af9f2443..47145a23011 100644 --- a/lib/ldb/common/ldb_parse.c +++ b/lib/ldb/common/ldb_parse.c @@ -535,12 +535,12 @@ static struct ldb_parse_tree *ldb_parse_filterlist(TALLOC_CTX *mem_ctx, const ch while (isspace((unsigned char)*p)) p++; while (*p) { + struct ldb_parse_tree **e; if (*p == ')') { break; } next = ldb_parse_filter(ret->u.list.elements, &p); - struct ldb_parse_tree **e; if (next == NULL) { /* an invalid filter element */ talloc_free(ret); -- 2.11.4.GIT