]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Make a return value explicitly ignored.
authorNick Mathewson <nickm@torproject.org>
Thu, 23 Apr 2015 17:04:37 +0000 (13:04 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 23 Apr 2015 17:05:06 +0000 (13:05 -0400)
This might make coverity happy

src/or/rendclient.c

index 0854d9371eb98682f9cff7c30b464f6823352579..13781c212eba0ca8348aa55c48748b9ba4d8c822 100644 (file)
@@ -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.",