summaryrefslogtreecommitdiff
path: root/lib/ldb
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@suse.de>2011-11-02 14:53:20 +0100
committerDavid Disseldorp <ddiss@samba.org>2011-11-02 16:51:24 +0100
commit2107ba5be87d6a9f7691cfcbe5411fa7174120b7 (patch)
tree2cfa27e23a1e80d7a15aac64e502fa81e8ad790e /lib/ldb
parent8fb9e087e3fc082cd5a8b835b8301f31204792d9 (diff)
downloadsamba-2107ba5be87d6a9f7691cfcbe5411fa7174120b7.tar.gz
ldb: fix compiler warning
Mixed declarations and code. Autobuild-User: David Disseldorp <ddiss@samba.org> Autobuild-Date: Wed Nov 2 16:51:24 CET 2011 on sn-devel-104
Diffstat (limited to 'lib/ldb')
-rw-r--r--lib/ldb/common/ldb_parse.c2
1 files changed, 1 insertions, 1 deletions
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);