From 0f97177f258c67397b206b70e5aea2b24a4868c1 Mon Sep 17 00:00:00 2001 From: qixiaoning <jony.kee@outlook.com> Date: 星期五, 22 八月 2025 09:18:13 +0800 Subject: [PATCH] 移除panic --- system-service/bhome_msg_dev/bhome_msg_dev.pb.go | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/system-service/bhome_msg_dev/bhome_msg_dev.pb.go b/system-service/bhome_msg_dev/bhome_msg_dev.pb.go index 85feb92..af990ef 100644 --- a/system-service/bhome_msg_dev/bhome_msg_dev.pb.go +++ b/system-service/bhome_msg_dev/bhome_msg_dev.pb.go @@ -5,10 +5,11 @@ import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" io "io" math "math" math_bits "math/bits" + + proto "github.com/gogo/protobuf/proto" ) // Reference imports to suppress errors if they are not otherwise used. @@ -1589,7 +1590,8 @@ return 0, fmt.Errorf("proto: illegal wireType %d", wireType) } } - panic("unreachable") + // panic("unreachable") + return 0, nil } var ( -- Gitblit v1.8.0