]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix 'result' might be used uninitialized in this function
authorMark Andrews <marka@isc.org>
Thu, 19 Jun 2014 01:37:17 +0000 (11:37 +1000)
committerMark Andrews <marka@isc.org>
Thu, 19 Jun 2014 01:37:17 +0000 (11:37 +1000)
bin/named/server.c

index a23db3391283af0d66c13f6105f078202236c88f..ed62f49d8457c4b253071c7609d9f06f6224fb3e 100644 (file)
@@ -9799,7 +9799,7 @@ isc_result_t
 ns_server_nta(ns_server_t *server, char *args, isc_buffer_t *text) {
        dns_view_t *view;
        dns_ntatable_t *ntatable = NULL;
-       isc_result_t result;
+       isc_result_t result = ISC_R_SUCCESS;
        char *ptr, *nametext = NULL, *viewname;
        isc_stdtime_t now, when;
        isc_time_t t;