From 36b5494dd17ab030f6d27cac7e62c3a5fa33a46d Mon Sep 17 00:00:00 2001 From: xiaok29 <1526783667@qq.com> Date: Wed, 30 Jul 2025 18:36:27 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=88=20style:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit reduce unnecessary returns --- encoding/protojson/decode.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/encoding/protojson/decode.go b/encoding/protojson/decode.go index 737d6876d..936088314 100644 --- a/encoding/protojson/decode.go +++ b/encoding/protojson/decode.go @@ -559,8 +559,6 @@ func (d decoder) unmarshalList(list protoreflect.List, fd protoreflect.FieldDesc } } } - - return nil } func (d decoder) unmarshalMap(mmap protoreflect.Map, fd protoreflect.FieldDescriptor) error {