summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-04-23 13:04:37 -0400
committerNick Mathewson <nickm@torproject.org>2015-04-23 13:05:06 -0400
commitb64eb6c47c24c2a9eb0c53d5ac86f1c097613a59 (patch)
treebf058f3ed69d3a585b5b7ffee8a78742e8f370fa
parent01fa3566d5b817f0c3b5a31d9f9d0ee11b63f883 (diff)
downloadtor-b64eb6c47c24c2a9eb0c53d5ac86f1c097613a59.tar.gz
tor-b64eb6c47c24c2a9eb0c53d5ac86f1c097613a59.zip
Make a return value explicitly ignored.
This might make coverity happy
-rw-r--r--src/or/rendclient.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c
index 0854d9371e..13781c212e 100644
--- a/src/or/rendclient.c
+++ b/src/or/rendclient.c
@@ -1229,7 +1229,8 @@ void
rend_client_note_connection_attempt_ended(const char *onion_address)
{
rend_cache_entry_t *cache_entry = NULL;
- rend_cache_lookup_entry(onion_address, -1, &cache_entry);
+ /* Ignore return value; we find an entry, or we don't. */
+ (void) rend_cache_lookup_entry(onion_address, -1, &cache_entry);
log_info(LD_REND, "Connection attempt for %s has ended; "
"cleaning up temporary state.",