diff options
author | David Disseldorp <ddiss@suse.de> | 2011-11-02 14:53:20 +0100 |
---|---|---|
committer | David Disseldorp <ddiss@samba.org> | 2011-11-02 16:51:24 +0100 |
commit | 2107ba5be87d6a9f7691cfcbe5411fa7174120b7 (patch) | |
tree | 2cfa27e23a1e80d7a15aac64e502fa81e8ad790e /lib/ldb/common | |
parent | 8fb9e087e3fc082cd5a8b835b8301f31204792d9 (diff) | |
download | samba-2107ba5be87d6a9f7691cfcbe5411fa7174120b7.tar.gz samba-2107ba5be87d6a9f7691cfcbe5411fa7174120b7.tar.bz2 samba-2107ba5be87d6a9f7691cfcbe5411fa7174120b7.zip |
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/common')
-rw-r--r-- | lib/ldb/common/ldb_parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ldb/common/ldb_parse.c b/lib/ldb/common/ldb_parse.c index 407af9f244..47145a2301 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); |