diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-11-22 02:19:14 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-11-22 02:19:14 +0000 |
commit | 07a08d933d82db680260186dd20e0c09defa5f13 (patch) | |
tree | c2d70cc7b48eae754f986e7b6b05026866b2e4c4 /src | |
parent | 0b7a2a505ea897583f185dcd753e6b8a28a654aa (diff) | |
download | tor-07a08d933d82db680260186dd20e0c09defa5f13.tar.gz tor-07a08d933d82db680260186dd20e0c09defa5f13.zip |
Resolve a warning under gcc 4.4 trunk.
svn:r17357
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 060615d1c3..bf2ced2e2e 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, idx; + int found=0, idx; idx = smartlist_bsearch_idx(sl, key, compare, &found); return found ? smartlist_get(sl, idx) : NULL; } |