diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-06-04 22:42:13 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-06-04 22:42:13 +0000 |
commit | 853e2d99b64cc886377f95b8f74e9f549769c410 (patch) | |
tree | 3c5949273d8d13229b51bdb8a2ecf4581d27dd18 /src/or/dns.c | |
parent | c4647545a02bd5f6b28bdb2bcd50a915ef04cf8c (diff) | |
download | tor-853e2d99b64cc886377f95b8f74e9f549769c410.tar.gz tor-853e2d99b64cc886377f95b8f74e9f549769c410.zip |
Add a new warning to our "warn a lot" list: unused parameters. This means we have to explicitly "use" unuseds, but it can catch bugs. (It caught two coding mistakes so far.)
svn:r6532
Diffstat (limited to 'src/or/dns.c')
-rw-r--r-- | src/or/dns.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/dns.c b/src/or/dns.c index 2e6a7398db..38fb4da608 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -1057,18 +1057,21 @@ dnsworkers_rotate(void) int connection_dns_finished_flushing(connection_t *conn) { + (void)conn; tor_assert(0); return 0; } int connection_dns_process_inbuf(connection_t *conn) { + (void)conn; tor_assert(0); return 0; } int connection_dns_reached_eof(connection_t *conn) { + (void)conn; tor_assert(0); return 0; } |