From e4dc699295d57df6a2e6302660ee09dbcbbf8d89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwwx1139321=E2=80=9D?= Date: Thu, 24 Apr 2025 20:32:15 +0800 Subject: [PATCH] =?UTF-8?q?warning:=20props=20=E9=98=B4=E5=BD=B1=E5=8F=98?= =?UTF-8?q?=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: “wwx1139321” --- frameworks/cj/src/input_method_ffi.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frameworks/cj/src/input_method_ffi.cpp b/frameworks/cj/src/input_method_ffi.cpp index 4a91bdca5..7f6dc50d3 100644 --- a/frameworks/cj/src/input_method_ffi.cpp +++ b/frameworks/cj/src/input_method_ffi.cpp @@ -159,9 +159,9 @@ RetInputMethodSubtype FfiInputMethodSettingListInputMethodSubtype(CInputMethodPr return ret; } for (unsigned int i = 0; i < ret.size; i++) { - CInputMethodSubtype props; - Utils::InputMethodSubProperty2C(&props, subProps[i]); - ret.head[i] = props; + CInputMethodSubtype subtype; + Utils::InputMethodSubProperty2C(&subtype, subProps[i]); + ret.head[i] = subtype; } return ret; } -- Gitee