elementary/flip - patched by PRINCE KUMAR DUBEY <prince.dubey@samsung.com>

Hi,

On behalf of Rajeev Ranjan, I am submitting the elm_flip patch.

Change Log:
a. Removed unnecessary comparison and assignment from the function _state_update inside file src/bin/test_flip_page.c. The comparison test will always be failed. Hence the assignment which was unreachable is removed.
b. Removed unnecessary comparison and assignment from the function _state_update inside file src/lib/elm_flip.c. The comparison test will always be failed. Hence the assignment which was unreachable is removed.

Please review it.
I'd appreciate any comments on this.

Thank you,



SVN revision: 65664
This commit is contained in:
ChunEon Park 2011-11-29 00:09:56 +00:00
parent 43c470e6b9
commit d1fac92dc8
2 changed files with 0 additions and 4 deletions

View File

@ -446,8 +446,6 @@ _state_update(State *st)
nw = 16;
nh = 16;
if (nw < 1) nw = 1;
if (nh < 1) nh = 1;
gszw = w / nw;
gszh = h / nh;
if (gszw < 4) gszw = 4;

View File

@ -550,8 +550,6 @@ _state_update(Widget_Data *st)
nw = 16;
nh = 16;
if (nw < 1) nw = 1;
if (nh < 1) nh = 1;
gszw = w / nw;
gszh = h / nh;
if (gszw < 4) gszw = 4;