diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-11-26 17:14:59 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-11-26 17:14:59 +0000 |
commit | 191197eff75a282d240a91c05de4d0f0c9d0bf70 (patch) | |
tree | ce1609f05303421344f616ea6e59a18a994828c6 /src | |
parent | 651a0a2fb5856a0e14e745b33a8d3d97387df862 (diff) | |
download | tor-191197eff75a282d240a91c05de4d0f0c9d0bf70.tar.gz tor-191197eff75a282d240a91c05de4d0f0c9d0bf70.zip |
Revert my older supposed gcc-4.4 warning workaround. GCC was not being needlessly prissy; it was hinting at the wrongly pure smartlist_bsearch_idx.
svn:r17396
Diffstat (limited to 'src')
-rw-r--r-- | src/common/container.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/container.c b/src/common/container.c index bf2ced2e2e..060615d1c3 100644 --- a/src/common/container.c +++ b/src/common/container.c @@ -494,7 +494,7 @@ void * smartlist_bsearch(smartlist_t *sl, const void *key, int (*compare)(const void *key, const void **member)) { - int found=0, idx; + int found, idx; idx = smartlist_bsearch_idx(sl, key, compare, &found); return found ? smartlist_get(sl, idx) : NULL; } |