From e39d2c74f72ae768df098bb8ec32196b0aa47c5f Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Mon, 12 Dec 2016 13:38:25 +0900 Subject: [PATCH] Fix build warning warning: variable 'opacity' set but not used [-Wunused-but-set-variable] Change-Id: Icf0f7f5d3f53ceb159b668e509f76d83a86ceb55 Signed-off-by: Jihoon Kim --- src/MicEffector.cpp | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.7.4