From: Hermet Park Date: Thu, 13 Dec 2018 11:06:30 +0000 (+0900) Subject: capi: remove unused internal variables. X-Git-Tag: submit/tizen/20181217.041818~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F30%2F195430%2F4;p=platform%2Fcore%2Fuifw%2Flottie-player.git capi: remove unused internal variables. Change-Id: I03a11a0c215bc489c282c22d52fb4f93665fca54 --- diff --git a/src/binding/c/lottieanimation_capi.cpp b/src/binding/c/lottieanimation_capi.cpp index 4152804..80ec93e 100644 --- a/src/binding/c/lottieanimation_capi.cpp +++ b/src/binding/c/lottieanimation_capi.cpp @@ -8,12 +8,7 @@ extern "C" { struct Lottie_Animation_S { std::unique_ptr mAnimation; - size_t mCurFrame{0}; std::future mRenderTask; - size_t mFrameNo{0}; - size_t mArraySize{0}; - size_t mWidth{0}; - size_t mHeight{0}; }; LOT_EXPORT Lottie_Animation_S *lottie_animation_from_file(const char *path) @@ -77,9 +72,6 @@ LOT_EXPORT const LOTLayerNode * lottie_animation_render_tree(Lottie_Animation_S { if (!animation) return nullptr; - animation->mFrameNo = frame_num; - animation->mWidth = width; - animation->mHeight = height; return animation->mAnimation->renderTree(frame_num, width, height); }