Skip to content

Commit

Permalink
internal/impl: remove the unreachable line of code
Browse files Browse the repository at this point in the history
Change-Id: Ie929703894858848c8465e0889d4fab04c1facc9
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/463795
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Lasse Folger <lassefolger@google.com>
  • Loading branch information
nnabeyang authored and stapelberg committed Jan 30, 2023
1 parent a948118 commit 0430d69
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/impl/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ func NewConverter(t reflect.Type, fd protoreflect.FieldDescriptor) Converter {
default:
return newSingularConverter(t, fd)
}
panic(fmt.Sprintf("invalid Go type %v for field %v", t, fd.FullName()))
}

var (
Expand Down

0 comments on commit 0430d69

Please sign in to comment.