Remove build warning
[platform/core/uifw/inputdelegator.git] / src / MicEffector.cpp
index f12d1ff..ab4de04 100755 (executable)
@@ -69,10 +69,10 @@ MicEffector::MicEffector(Evas_Object *canvas, Evas_Object *layout, IMicEffector&
        : drawcount(0)
        , forcestop(false)
        , started(false)
+       , fake(false)
        , timer(NULL)
        , layout(layout)
        , ieffect(effect)
-       , fake(false)
 {
 //     path = ea_vector_path_create();
 //     paint = ea_vector_paint_create();
@@ -135,27 +135,27 @@ void MicEffector::DrawDummyFrame()
  */
 void MicEffector::DrawQue(int idx, bool is_start)
 {
-       float margin = spectrum_posx;
-       float posx = 0.0;
+//     float margin = spectrum_posx;
+//     float posx = 0.0;
 
        double speed = cubic_easy_out(idx + 1.0, 0.0, 23.0, 23);
 
        unsigned int start = start_stop_anim_count - (int) speed;
        unsigned int end = start_stop_anim_count + (int) speed;
 
-       double opacity;
+//     double opacity;
 
        if (is_start) {
-               opacity = cubic_easy_out(idx, 0.0, 1.0, 26.0);
+//             opacity = cubic_easy_out(idx, 0.0, 1.0, 26.0);
        } else {
-               opacity = cubic_easy_out(idx, 0, 1.0, 26.0);
+//             opacity = cubic_easy_out(idx, 0, 1.0, 26.0);
        }
 
 //     ea_vector_path_reset(path);
 
        for(unsigned int i = start; i < end; i++)
        {
-               posx = margin + (i * 5);
+//             posx = margin + (i * 5);
 
 //             ea_vector_path_move_to(path, posx, 37.0f);
 //             ea_vector_path_line_to(path, posx, 38.0f);
@@ -223,17 +223,17 @@ float MicEffector::GetAmplifyValue(unsigned int idx)
  */
 void MicEffector::DrawWave(unsigned int idx, int amount, int prev_amount, double opacity, bool is_lastcmd)
 {
-       float ratio = GetAmplifyValue(idx);
+//     float ratio = GetAmplifyValue(idx);
 
-       float am = ((float) amount) * ratio;
-       float pam = ((float) prev_amount) * ratio;
-       float cnt = (float) drawcount;
+//     float am = ((float) amount) * ratio;
+//     float pam = ((float) prev_amount) * ratio;
+//     float cnt = (float) drawcount;
 
        float posx = spectrum_posx;
 
-       float height = pam > am?
-               pam - cubic_easy_in_out(cnt + 1.0, am, pam, 7):
-               cubic_easy_in_out(cnt + 1.0, pam, am, 7);
+//     float height = pam > am?
+//             pam - cubic_easy_in_out(cnt + 1.0, am, pam, 7):
+//             cubic_easy_in_out(cnt + 1.0, pam, am, 7);
 
        posx += idx * 5;