From: David Disseldorp Date: Wed, 2 Nov 2011 13:53:20 +0000 (+0100) Subject: ldb: fix compiler warning X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=2107ba5be87d6a9f7691cfcbe5411fa7174120b7;p=obnox%2Fsamba%2Fsamba-obnox.git 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 --- 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);