summaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-05-18 15:57:21 -0400
committerNick Mathewson <nickm@torproject.org>2015-05-18 15:57:21 -0400
commitd5e4a6343694574cebc9f9bd7ea83a168bdad3aa (patch)
tree7c574d67801a8b18290d1c2e251c16adcc365937 /src/or/control.c
parent2308f917f99384640c5b0d1ddc9f2a3dffc68e5a (diff)
downloadtor-d5e4a6343694574cebc9f9bd7ea83a168bdad3aa.tar.gz
tor-d5e4a6343694574cebc9f9bd7ea83a168bdad3aa.zip
Fix some compilation warnings
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/control.c b/src/or/control.c
index de24294efc..4eeb897afa 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -2216,6 +2216,8 @@ getinfo_helper_liveness(control_connection_t *control_conn,
const char *question, char **answer,
const char **errmsg)
{
+ (void)control_conn;
+ (void)errmsg;
if (strcmp(question, "network-liveness") == 0) {
if (get_cached_network_liveness()) {
*answer = tor_strdup("up");