未验证 提交 2c98dc21 编写于 作者: O openharmony_ci 提交者: Gitee

!8258 Fix llvm-15 build error

Merge pull request !8258 from yinchuang/fix_llvm15_ace_ets_xcomponent
......@@ -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.
先完成此消息的编辑!
想要评论请 注册