]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Initialize a pointer to NULL in order to silence a compiler warning.
authorEvan Hunt <each@isc.org>
Fri, 7 Jan 2011 00:53:18 +0000 (00:53 +0000)
committerEvan Hunt <each@isc.org>
Fri, 7 Jan 2011 00:53:18 +0000 (00:53 +0000)
Committing without review because the change is trivial.

bin/named/server.c

index 332cb8d13965785acd7e69710e8415cc1a35879b..fa5fcabdff4638c950e5dee8fcf26365b4f501db 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: server.c,v 1.556.8.32 2010/12/09 01:05:28 marka Exp $ */
+/* $Id: server.c,v 1.556.8.33 2011/01/07 00:53:18 each Exp $ */
 
 /*! \file */
 
@@ -6893,7 +6893,7 @@ ns_server_del_zone(ns_server_t *server, char *args) {
        /* Rewrite zone list */
        result = isc_stdio_open(filename, "r", &ifp);
        if (ifp != NULL && result == ISC_R_SUCCESS) {
-               char *found = NULL, *p;
+               char *found = NULL, *p = NULL;
                size_t n;
 
                /* Create a temporary file */