elm test: img zoomable - fix compiler warnings

efl/src/bin/elementary/test_photocam.c:779:19: note: initialize the variable '_zoom' to silence this warning
This commit is contained in:
Amitesh Singh 2017-07-07 15:52:51 +09:00
parent f8d8136b2c
commit a014aa36d8
1 changed files with 1 additions and 0 deletions

View File

@ -788,6 +788,7 @@ _zoomable_mouse_wheel_cb(void *data, const Efl_Event *e)
zoom *= 2;
val = 1;
_zoom = zoom;
while (_zoom>1)
{
_zoom /= 2;