mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
in dns_zone_notifyreceive(), the variable 'now' was
set but never used
This commit is contained in:
parent
130904d648
commit
0674850fcb
1 changed files with 1 additions and 3 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: zone.c,v 1.337 2001/08/31 19:25:51 gson Exp $ */
|
||||
/* $Id: zone.c,v 1.338 2001/08/31 19:27:22 gson Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -4048,7 +4048,6 @@ dns_zone_notifyreceive(dns_zone_t *zone, isc_sockaddr_t *from,
|
|||
dns_rdataset_t *rdataset = NULL;
|
||||
dns_rdata_t rdata = DNS_RDATA_INIT;
|
||||
isc_result_t result;
|
||||
isc_time_t now;
|
||||
char fromtext[ISC_SOCKADDR_FORMATSIZE];
|
||||
int match = 0;
|
||||
isc_netaddr_t netaddr;
|
||||
|
|
@ -4178,7 +4177,6 @@ dns_zone_notifyreceive(dns_zone_t *zone, isc_sockaddr_t *from,
|
|||
fromtext);
|
||||
return (ISC_R_SUCCESS);
|
||||
}
|
||||
isc_time_now(&now);
|
||||
zone->notifyfrom = *from;
|
||||
UNLOCK_ZONE(zone);
|
||||
dns_zone_refresh(zone);
|
||||
|
|
|
|||
Loading…
Reference in a new issue