]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
remove unused statement.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 31 Oct 2013 15:51:08 +0000 (15:51 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 31 Oct 2013 15:51:08 +0000 (15:51 +0000)
git-svn-id: file:///svn/unbound/trunk@3003 be551aaa-1e26-0410-a405-d3ace91eadb9

ldns/wire2str.c

index d68335247ff8dcf08b7d5ac45c186560b161011a..80222b2103212c18461c147781e80f937a9c3c5f 100644 (file)
@@ -391,9 +391,8 @@ static int ldns_rr_tcttl_scan(uint8_t** d, size_t* dl, char** s, size_t* sl)
                w += ldns_wire2str_type_print(s, sl, t);
                if(*dl == 0)
                        return w + ldns_str_print(s, sl, "; Error no ttl");
-               else    return w + print_remainder_hex(
-                               "; Error malformed ttl 0x", d, dl, s, sl);
-               return w;
+               return w + print_remainder_hex(
+                       "; Error malformed ttl 0x", d, dl, s, sl);
        }
        t = ldns_read_uint16(*d);
        c = ldns_read_uint16((*d)+2);