summaryrefslogtreecommitdiff
path: root/lib/dns/diff.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2015-04-08 17:52:54 +0000
committerXin LI <delphij@FreeBSD.org>2015-04-08 17:52:54 +0000
commit7ba7a5de74780dee4ec54bace1ec36427be1d8b8 (patch)
treea5a1890b0b884a1d303e90c4130c3b731772abd5 /lib/dns/diff.c
parenta2bc50f814b6966b412ba90221460066a8b31951 (diff)
Notes
Diffstat (limited to 'lib/dns/diff.c')
-rw-r--r--lib/dns/diff.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/dns/diff.c b/lib/dns/diff.c
index 4517dade38dc..b6d4152999f8 100644
--- a/lib/dns/diff.c
+++ b/lib/dns/diff.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2004, 2005, 2007-2009, 2011, 2013, 2014 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007-2009, 2011, 2013-2015 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -390,9 +390,6 @@ diff_apply(dns_diff_t *diff, dns_db_t *db, dns_dbversion_t *ver,
* Issue a warning and continue.
*/
if (warn) {
- char classbuf[DNS_RDATATYPE_FORMATSIZE];
- char namebuf[DNS_NAME_FORMATSIZE];
-
dns_name_format(dns_db_origin(db),
namebuf,
sizeof(namebuf));