From 4c760145fdd8c3cf6040d40529634c303e6d71f4 Mon Sep 17 00:00:00 2001 From: Hiroshi Hatake Date: Tue, 8 Oct 2024 20:38:28 +0900 Subject: [PATCH] simdutf_connector: Suppress compiler warnings Signed-off-by: Hiroshi Hatake --- src/simdutf/flb_simdutf_connector.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/simdutf/flb_simdutf_connector.cpp b/src/simdutf/flb_simdutf_connector.cpp index 3d5c6808d74..87aa3a76962 100644 --- a/src/simdutf/flb_simdutf_connector.cpp +++ b/src/simdutf/flb_simdutf_connector.cpp @@ -155,8 +155,7 @@ int flb_simdutf_connector_convert_from_unicode(int preferred_encoding, const char *input, size_t length, char **output, size_t *out_size) { - int len = 0; - size_t clen = 0; + size_t len = 0; size_t i = 0; int encoding = 0; std::u16string str16;