From e0de214095607c2e1e6bcdb6e6b40a8a22c9c904 Mon Sep 17 00:00:00 2001 From: godotg Date: Sun, 29 Oct 2023 18:34:48 +0800 Subject: [PATCH] perf[protocol]: remove unused field --- protocol/src/main/resources/gdscript/buffer/ByteBuffer.gd | 1 - 1 file changed, 1 deletion(-) diff --git a/protocol/src/main/resources/gdscript/buffer/ByteBuffer.gd b/protocol/src/main/resources/gdscript/buffer/ByteBuffer.gd index d52e8d84..123e5aac 100644 --- a/protocol/src/main/resources/gdscript/buffer/ByteBuffer.gd +++ b/protocol/src/main/resources/gdscript/buffer/ByteBuffer.gd @@ -291,7 +291,6 @@ func readString() -> String: return EMPTY buffer.seek(readOffset) var value: String = buffer.get_utf8_string(length) - var strBytes: PackedByteArray = value.to_utf8_buffer() readOffset += length return value