]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[v9_10] silence coverity
authorEvan Hunt <each@isc.org>
Sat, 23 Aug 2014 01:18:37 +0000 (18:18 -0700)
committerEvan Hunt <each@isc.org>
Sat, 23 Aug 2014 01:18:37 +0000 (18:18 -0700)
(cherry picked from commit e7bc3d7d0815f795aef734ff6fe38cbf6d1ae4bf)

bin/named/server.c

index 82c994b1a4fd06df28188f9717d31f46f72efc78..c29a5e2bc030a6bf50f2ac58208b7cd158fb66dd 100644 (file)
@@ -15,8 +15,6 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id$ */
-
 /*! \file */
 
 #include <config.h>
@@ -9023,10 +9021,10 @@ inuse(const char* file, isc_boolean_t first, isc_buffer_t *text) {
            strlen(file) + (first ? sizeof(INUSEMSG) : sizeof("\n")))
        {
                if (first)
-                       putstr(text, INUSEMSG);
+                       (void) putstr(text, INUSEMSG);
                else
-                       putstr(text, "\n");
-               putstr(text, file);
+                       (void) putstr(text, "\n");
+               (void) putstr(text, file);
                return (ISC_FALSE);
        }
        return (first);
@@ -9771,7 +9769,7 @@ ns_server_zonestatus(ns_server_t *server, char *args, isc_buffer_t *text) {
  cleanup:
        /* Indicate truncated output if possible. */
        if (result == ISC_R_NOSPACE)
-               putstr(text, "\n...");
+               (void) putstr(text, "\n...");
        if ((result == ISC_R_SUCCESS || result == ISC_R_NOSPACE))
                putnull(text);