summaryrefslogtreecommitdiff
path: root/usr.sbin/bind/lib
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-08-08 22:40:16 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-08-08 22:40:16 +0000
commit93a6d86bbcd72fc81e87f3432d843848ad41749b (patch)
tree052b0ee19e8219b9b330729e41e271b03c4e6bcf /usr.sbin/bind/lib
parentec8d3a071a1872193280e5588bf4469ac4ad4cac (diff)
Remove a buffer which got added during the safe stringification, but left
unused. ok tedu@
Diffstat (limited to 'usr.sbin/bind/lib')
-rw-r--r--usr.sbin/bind/lib/dns/name.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.sbin/bind/lib/dns/name.c b/usr.sbin/bind/lib/dns/name.c
index 7c33c99fb3e..f4937ca24f8 100644
--- a/usr.sbin/bind/lib/dns/name.c
+++ b/usr.sbin/bind/lib/dns/name.c
@@ -1782,7 +1782,6 @@ dns_name_totext(dns_name_t *name, isc_boolean_t omit_final_dot,
trem--;
nlen--;
} else {
- char buf[5];
if (trem < 4)
return (ISC_R_NOSPACE);
snprintf(tdata, trem,