Fix codecheck issues

Signed-off-by: Ilya Tihobaev <tihobaev.ilya@huawei-partners.com>
Change-Id: I200d24de6c72cc4df09c278f65950c50ca931233
This commit is contained in:
Ilya Tihobaev 2024-06-27 17:22:21 +03:00
parent 11e29286e4
commit 9906e2de6d

View File

@ -502,7 +502,6 @@ napi_value JsPen::GetFillPath(napi_env env, napi_callback_info info)
return nullptr;
}
Rect* rect = nullptr;
napi_valuetype isRectNullptr;
napi_typeof(env, argv[ARGC_TWO], &isRectNullptr);
@ -521,7 +520,6 @@ napi_value JsPen::GetFillPath(napi_env env, napi_callback_info info)
return CreateJsValue(env, pen->GetFillPath(*src->GetPath(),
*dst->GetPath(), rect, matrix->GetMatrix() ? *matrix->GetMatrix().get() : Matrix()));
}
Pen* JsPen::GetPen()