]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
silence Function returns no value
authorMark Andrews <marka@isc.org>
Wed, 19 Feb 2014 13:27:36 +0000 (00:27 +1100)
committerMark Andrews <marka@isc.org>
Wed, 19 Feb 2014 13:27:36 +0000 (00:27 +1100)
bin/named/query.c

index 2ffd7dec980d7779d7a3fb21077412dce8fbbf38..7b3a825f7953536336efeffe02976132d33db2dc 100644 (file)
@@ -4295,7 +4295,7 @@ rpz_get_p_name(ns_client_t *client, dns_name_t *p_name,
                                          &prefix);
                result = dns_name_concatenate(&prefix, suffix, p_name, NULL);
                if (result == ISC_R_SUCCESS)
-                       return (ISC_R_SUCCESS);
+                       break;
                INSIST(result == DNS_R_NAMETOOLONG);
                /*
                 * Trim the trigger name until the combination is not too long.
@@ -4314,6 +4314,7 @@ rpz_get_p_name(ns_client_t *client, dns_name_t *p_name,
                }
                ++first;
        }
+       return (ISC_R_SUCCESS);
 }
 
 /*