diff --git a/script/api_protobuf/api_protobuf.py b/script/api_protobuf/api_protobuf.py index c5061e9b21..a6bf2a0d7c 100755 --- a/script/api_protobuf/api_protobuf.py +++ b/script/api_protobuf/api_protobuf.py @@ -1138,7 +1138,6 @@ class PointerToBufferTypeBase(TypeInfo): self, field: descriptor.FieldDescriptorProto, needs_decode: bool ) -> None: super().__init__(field, needs_decode) - self.array_size = 0 @property def wire_type(self) -> WireType: