diff --git a/codec-dns/src/main/java/io/netty/handler/codec/dns/DnsOpCode.java b/codec-dns/src/main/java/io/netty/handler/codec/dns/DnsOpCode.java index f14211a793..8316ef453d 100644 --- a/codec-dns/src/main/java/io/netty/handler/codec/dns/DnsOpCode.java +++ b/codec-dns/src/main/java/io/netty/handler/codec/dns/DnsOpCode.java @@ -65,6 +65,8 @@ public class DnsOpCode implements Comparable { return NOTIFY; case 0x05: return UPDATE; + default: + break; } return new DnsOpCode(b);