From: Nick Mathewson Date: Thu, 23 Apr 2015 17:04:37 +0000 (-0400) Subject: Make a return value explicitly ignored. X-Git-Tag: tor-0.2.7.1-alpha~34 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b64eb6c47c24c2a9eb0c53d5ac86f1c097613a59;p=thirdparty%2Ftor.git Make a return value explicitly ignored. This might make coverity happy --- 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.",