提交 72c0b1e9 编写于 作者: Y yinchuang

Fix llvm-15 build error

Signed-off-by: Nyinchuang <yinchuang@huawei.com>
Change-Id: If641aa5e86b9cac3cd1fc2b65b72228e60ea8ab5
上级 601c2f93
......@@ -230,9 +230,9 @@ void PluginRender::DispatchTouchEvent(OH_NativeXComponent* component, void* wind
OH_NativeXComponent_TouchPointToolType toolType = OH_NativeXComponent_TouchPointToolType::OH_NATIVEXCOMPONENT_TOOL_TYPE_UNKNOWN;
float tiltX = 123.0;
float tiltY = 321.0;
int32_t ret1;
int32_t ret2;
int32_t ret3;
[[maybe_unused]] int32_t ret1;
[[maybe_unused]] int32_t ret2;
[[maybe_unused]] int32_t ret3;
ret1 = OH_NativeXComponent_GetTouchPointToolType(component, i, &toolType);
ret2 = OH_NativeXComponent_GetTouchPointTiltX(component, i, &tiltX);
ret3 = OH_NativeXComponent_GetTouchPointTiltY(component, i, &tiltY);
......@@ -294,7 +294,7 @@ napi_value PluginRender::NapiChangeShape(napi_env env, napi_callback_info info)
LOGE("NapiChangeShape");
napi_value exportInstance;
napi_value thisArg;
napi_status status;
[[maybe_unused]] napi_status status;
OH_NativeXComponent *nativeXComponent = nullptr;
int32_t ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册