From: Jihoon Kim Date: Mon, 12 Dec 2016 04:38:25 +0000 (+0900) Subject: Fix build warning X-Git-Tag: accepted/tizen/3.0/common/20161213.163732~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e39d2c74f72ae768df098bb8ec32196b0aa47c5f;p=platform%2Fcore%2Fuifw%2Fise-default.git Fix build warning warning: variable 'opacity' set but not used [-Wunused-but-set-variable] Change-Id: Icf0f7f5d3f53ceb159b668e509f76d83a86ceb55 Signed-off-by: Jihoon Kim --- diff --git a/src/MicEffector.cpp b/src/MicEffector.cpp index a6bdbfb..6e1ec2e 100644 --- a/src/MicEffector.cpp +++ b/src/MicEffector.cpp @@ -158,6 +158,7 @@ void MicEffector::DrawQue(int idx, bool is_start) unsigned int start = start_stop_anim_count - (int) speed; unsigned int end = start_stop_anim_count + (int) speed; +#ifdef _WEARABLE double opacity; if (is_start) { @@ -165,6 +166,7 @@ void MicEffector::DrawQue(int idx, bool is_start) } else { opacity = cubic_easy_out(idx, 0, 1.0, 26.0); } +#endif evas_vg_shape_reset(shape);