mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Remove some dead code, found by clang
This commit is contained in:
committed by
Nick Mathewson
parent
d7d25558fa
commit
9da4e25183
@@ -1414,9 +1414,8 @@ connection_or_send_netinfo(or_connection_t *conn)
|
||||
len = append_address_to_payload(out, &my_addr);
|
||||
if (len < 0)
|
||||
return -1;
|
||||
out += len;
|
||||
} else {
|
||||
*out++ = 0;
|
||||
*out = 0;
|
||||
}
|
||||
|
||||
connection_or_write_cell_to_buf(&cell, conn);
|
||||
|
||||
Reference in New Issue
Block a user