git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fb9e08
)
ldb: fix compiler warning
author
David Disseldorp
<ddiss@suse.de>
Wed, 2 Nov 2011 13:53:20 +0000
(14:53 +0100)
committer
David Disseldorp
<ddiss@samba.org>
Wed, 2 Nov 2011 15:51:24 +0000
(16:51 +0100)
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
lib/ldb/common/ldb_parse.c
patch
|
blob
|
history
diff --git
a/lib/ldb/common/ldb_parse.c
b/lib/ldb/common/ldb_parse.c
index 407af9f24437d33edd93872e40a248716f837cd1..47145a23011699e6bc0b47373e0c8d4991cba222 100644
(file)
--- 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);