mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Resolve a warning under gcc 4.4 trunk.
svn:r17357
This commit is contained in:
parent
0b7a2a505e
commit
07a08d933d
@ -494,7 +494,7 @@ void *
|
||||
smartlist_bsearch(smartlist_t *sl, const void *key,
|
||||
int (*compare)(const void *key, const void **member))
|
||||
{
|
||||
int found, idx;
|
||||
int found=0, idx;
|
||||
idx = smartlist_bsearch_idx(sl, key, compare, &found);
|
||||
return found ? smartlist_get(sl, idx) : NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user