goto restrictions

This commit is contained in:
Miek Gieben 2011-07-18 13:26:57 +02:00
parent f1cbdbd9d4
commit 2e4f0cc015
1 changed files with 0 additions and 1 deletions

1
msg.go
View File

@ -488,7 +488,6 @@ func unpackStructValue(val reflect.Value, msg []byte, off int) (off1 int, ok boo
f := val.Type().Field(i)
switch fv := val.Field(i); fv.Kind() {
default:
BadType:
//fmt.Fprintf(os.Stderr, "dns: unknown unpacking type %v", f.Type)
return len(msg), false
case reflect.Slice: