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

index f508629d617a401568b7d247977aaddcbbfedb75..47af6284ede3e4ed16b268d9b8d25aba777b04b3 100644 (file)
@@ -16,7 +16,7 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static const char rcsid[] = "$Id: inet_net_ntop.c,v 1.1.2.1.8.1 2004/03/09 08:33:32 marka Exp $";
+static const char rcsid[] = "$Id: inet_net_ntop.c,v 1.1.2.1.8.2 2006/06/20 02:53:07 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);