提交 494dcb12 编写于 作者: G guzhihao4

Fix llvm15 build

Add maybe_unused to unused variable
Issue: #I6ID6E
Signed-off-by: Nguzhihao4 <guzhihao4@huawei.com>
Change-Id: Ib56c01fe582b3bcbbcbf5ea842a8c0fecf0771ac
上级 0cf94148
......@@ -403,7 +403,7 @@ napi_value PluginRender::NapiChangeColor(napi_env env, napi_callback_info info)
napi_value PluginRender::TestGetXComponentId(napi_env env, napi_callback_info info)
{
napi_value thisArg;
napi_status status;
[[maybe_unused]] napi_status status;
napi_value exportInstance;
OH_NativeXComponent *nativeXComponent = nullptr;
......@@ -570,4 +570,4 @@ napi_value PluginRender::TestGetXComponent_RegisterMouseEventCallback(napi_env e
#ifdef __cplusplus
}
#endif
\ No newline at end of file
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册