s4:dns_server/dns_update.c - remove unreachable statements
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Mon, 29 Nov 2010 13:36:46 +0000 (14:36 +0100)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Mon, 29 Nov 2010 13:48:13 +0000 (14:48 +0100)
source4/dns_server/dns_update.c

index f789f2d6258115b31132f1556834da0995bee3b5..a9fabf66d254241d4050413a78e6954495c95d7a 100644 (file)
@@ -64,7 +64,6 @@ static WERROR check_prerequsites(struct dns_server *dns,
                                /* TODO: Check if RR exists of the specified type */
                                return DNS_ERR(NXRRSET);
                        }
-                       continue;
                }
                if (r->rr_class == DNS_QCLASS_NONE) {
                        if (r->length != 0) {
@@ -77,7 +76,6 @@ static WERROR check_prerequsites(struct dns_server *dns,
                                /* TODO: Return error if there's an RRset of this type in the zone */
                                return DNS_ERR(YXRRSET);
                        }
-                       continue;
                }
                if (r->rr_class == zone->question_class) {
                        /* Check if there's a RR with this */