remove compiler warning
This commit is contained in:
@@ -653,7 +653,7 @@ static inline int isset(struct bitfield* b,size_t bit) {
|
||||
* for all records that match the value in s. Set the corresponding
|
||||
* bits to 1 in bitfield. */
|
||||
static void tagmatches(uint32* index,size_t elements,struct string* s,
|
||||
struct bitfield* b,int (*match)(struct string* s,const char* c),
|
||||
struct bitfield* b,int (*match)(const struct string* s,const char* c),
|
||||
uint32 index_type,enum FilterType ft) {
|
||||
uint32 bottom=0;
|
||||
uint32 top=elements-1;
|
||||
@@ -2430,7 +2430,7 @@ static int matchhashnode(struct hashnode* hn,struct SearchRequest* sr) {
|
||||
return 0;
|
||||
switch (sr->scope) {
|
||||
case wholeSubtree: break;
|
||||
case baseObject: if (len==sr->baseObject.l) break; return 0;
|
||||
case baseObjectOnly: if (len==sr->baseObject.l) break; return 0;
|
||||
default:
|
||||
c=hn->dn+bstrstart((char*)hn->dn);
|
||||
for (i=0; i<len; ++i)
|
||||
|
||||
Reference in New Issue
Block a user