[or-cvs] r8445: Trivial patch to appease warn-happy gcc: mark unused paramet (in tor/trunk: . src/or)

nickm at seul.org nickm at seul.org
Thu Sep 21 21:49:30 UTC 2006


Author: nickm
Date: 2006-09-21 17:49:15 -0400 (Thu, 21 Sep 2006)
New Revision: 8445

Modified:
   tor/trunk/
   tor/trunk/src/or/dns.c
Log:
 r8880 at Kushana:  nickm | 2006-09-21 17:26:02 -0400
 Trivial patch to appease warn-happy gcc: mark unused parameter



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/branches/eventdns [r8880] on c95137ef-5f19-0410-b913-86e773d04f59

Modified: tor/trunk/src/or/dns.c
===================================================================
--- tor/trunk/src/or/dns.c	2006-09-21 21:49:03 UTC (rev 8444)
+++ tor/trunk/src/or/dns.c	2006-09-21 21:49:15 UTC (rev 8445)
@@ -1576,6 +1576,7 @@
                                  void *addresses, void *arg)
 {
   static int notice_given = 0;
+  (void)ttl;
   if (result == DNS_ERR_NONE && type == DNS_IPv4_A && count) {
     uint32_t *addrs = addresses;
     int i;



More information about the tor-commits mailing list