From 7c7d67b5d88fba9d6fe7b4a93ef154e113153df2 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Sat, 13 May 2000 22:07:57 +0000 Subject: [PATCH] Fixed IRIX warning: "./rdata/in_1/a6_38.c", line 259: remark(1552): variable "octets" was set but never used by using UNUSED() on this stack variable. I didn't take it out altogether because this function is not yet finished, but someone was starting to do some work on it and I didn't want to undo that. --- lib/dns/rdata/in_1/a6_38.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/dns/rdata/in_1/a6_38.c b/lib/dns/rdata/in_1/a6_38.c index 769e5b4a53..6c34a84293 100644 --- a/lib/dns/rdata/in_1/a6_38.c +++ b/lib/dns/rdata/in_1/a6_38.c @@ -15,7 +15,7 @@ * SOFTWARE. */ - /* $Id: a6_38.c,v 1.29 2000/05/08 16:12:27 tale Exp $ */ + /* $Id: a6_38.c,v 1.30 2000/05/13 22:07:57 tale Exp $ */ /* draft-ietf-ipngwg-dns-lookups-03.txt */ @@ -276,6 +276,11 @@ fromstruct_in_a6(dns_rdataclass_t rdclass, dns_rdatatype_t type, void *source, octets = 16 - prefixlen / 8; + /* + * XXXDCL shut up IRIX compiler until this function is finished. + */ + UNUSED(octets); + return (ISC_R_NOTIMPLEMENTED); }