diff options
author | Chris Michael <cp.michael@samsung.com> | 2013-11-18 10:15:54 +0000 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2013-11-18 10:15:54 +0000 |
commit | a490019b52f981d46e772be5efe27cbb161e94a4 (patch) | |
tree | 3cfac3dccdfbefa6bdf6093887f288866dc7e197 | |
parent | 0800b2ec1e7342f6e8067247c12f6a3164a4a588 (diff) |
Remove dead assignments reported by nightly build
cw/cy are never used inside the "dosel" block, so no need to fetch
geometry and calculate difference here (already fetched below when
needed anyway).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r-- | src/lib/edje/edje_entry.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/edje/edje_entry.c b/src/lib/edje/edje_entry.c index 566bd235ba..3c13585161 100644 --- a/src/lib/edje/edje_entry.c +++ b/src/lib/edje/edje_entry.c | |||
@@ -1922,9 +1922,6 @@ _edje_part_mouse_down_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_ | |||
1922 | if (en->select_allow && ev->button != 2) dosel = EINA_TRUE; | 1922 | if (en->select_allow && ev->button != 2) dosel = EINA_TRUE; |
1923 | if (dosel) | 1923 | if (dosel) |
1924 | { | 1924 | { |
1925 | evas_object_geometry_get(rp->object, &x, &y, &w, &h); | ||
1926 | cx = ev->canvas.x - x; | ||
1927 | cy = ev->canvas.y - y; | ||
1928 | if (ev->flags & EVAS_BUTTON_TRIPLE_CLICK) | 1925 | if (ev->flags & EVAS_BUTTON_TRIPLE_CLICK) |
1929 | { | 1926 | { |
1930 | if (shift) | 1927 | if (shift) |