stefan pushed a commit to branch master.
commit 1fd3950cda333fa8147ee92a659505978a471d70
Author: Stefan Schmidt <[email protected]>
Date: Thu Sep 12 15:40:41 2013 +0100
ecore_evas: Remove unused code.
rot = rot % 360;
while (rot < 0) rot += 360;
it is guaranteed that rot is between 0 and 359.
CID: 1039470, 1039471
---
src/lib/ecore_evas/ecore_evas.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c
index f31819e..ac2becb 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -1203,7 +1203,6 @@ ecore_evas_rotation_set(Ecore_Evas *ee, int rot)
}
rot = rot % 360;
while (rot < 0) rot += 360;
- while (rot >= 360) rot -= 360;
IFC(ee, fn_rotation_set) (ee, rot, 0);
/* make sure everything gets redrawn */
evas_damage_rectangle_add(ee->evas, 0, 0, ee->w, ee->h);
@@ -1222,7 +1221,6 @@ ecore_evas_rotation_with_resize_set(Ecore_Evas *ee, int
rot)
}
rot = rot % 360;
while (rot < 0) rot += 360;
- while (rot >= 360) rot -= 360;
IFC(ee, fn_rotation_set) (ee, rot, 1);
/* make sure everything gets redrawn */
evas_damage_rectangle_add(ee->evas, 0, 0, ee->w, ee->h);
--
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk