]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
silence: value computed is not used
authorMark Andrews <marka@isc.org>
Tue, 20 Jun 2006 02:50:14 +0000 (02:50 +0000)
committerMark Andrews <marka@isc.org>
Tue, 20 Jun 2006 02:50:14 +0000 (02:50 +0000)
lib/bind/inet/inet_net_ntop.c

index a4b81aafad5d584e555984b0e8f3153b7620cb66..fb28e3cbe50c2322379825d2a53cce07b22cb6ec 100644 (file)
@@ -16,7 +16,7 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static const char rcsid[] = "$Id: inet_net_ntop.c,v 1.4 2005/04/27 04:56:20 sra Exp $";
+static const char rcsid[] = "$Id: inet_net_ntop.c,v 1.5 2006/06/20 02:50:14 marka Exp $";
 #endif
 
 #include "port_before.h"
@@ -264,7 +264,7 @@ inet_net_ntop_ipv6(const u_char *src, int bits, char *dst, size_t size) {
                }
        }
        /* Format CIDR /width. */
-       SPRINTF((cp, "/%u", bits));
+       sprintf(cp, "/%u", bits);
        if (strlen(outbuf) + 1 > size)
                goto emsgsize;
        strcpy(dst, outbuf);