]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[master] intialize result *correctly*
authorEvan Hunt <each@isc.org>
Thu, 8 Jan 2015 01:38:00 +0000 (17:38 -0800)
committerEvan Hunt <each@isc.org>
Thu, 8 Jan 2015 01:38:00 +0000 (17:38 -0800)
bin/named/server.c

index 9095ec29c8d668e0748e9d67eb9b4fbf2a0277fe..2b7a9e1d10abc528b7bb25264cec48accf26302f 100644 (file)
@@ -9440,7 +9440,7 @@ find_name_in_list_from_map(const cfg_obj_t *config,
 {
        const cfg_obj_t *list = NULL;
        const cfg_listelt_t *element;
-       const cfg_obj_t *result = ISC_R_SUCCESS;
+       const cfg_obj_t *result = NULL;
 
        cfg_map_get(config, map_key_for_list, &list);
        for (element = cfg_list_first(list);