ecore/ecore_anim: Dead initial assignment. The value gets set two lines later in...
authorstefan <stefan@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 15 Jun 2012 14:11:38 +0000 (14:11 +0000)
committerstefan <stefan@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 15 Jun 2012 14:11:38 +0000 (14:11 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@72192 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore/ecore_anim.c

index 131929e..67bf8b1 100644 (file)
@@ -216,7 +216,7 @@ _pos_map_accel_factor(double pos,
                       double v1)
 {
    int i, fact = (int)v1;
-   double p, o1 = pos, o2 = pos, v;
+   double p, o1 = pos, o2, v;
    p = 1.0 - _pos_map_sin((M_PI / 2.0) + ((pos * M_PI) / 2.0));
    o2 = p;
    for (i = 0; i < fact; i++)