this patch fixes potentional bugs which has reported from static analyzer
Change-Id: I35f2363fcedf8f649bb1288e6a2ba57b3fa0f744
{
LOG_F(INFO, "wheel up %d for %d", amount, durationMs);
auto args = std::make_tuple(this);
- long result;
+ long result = -1;
for (int i = 0; i < amount; i++){
result = (long)ecore_main_loop_thread_safe_call_sync([](void *data)->void*{
TizenImpl *obj;
{
LOG_F(INFO, "wheel down %d for %d", amount, durationMs);
auto args = std::make_tuple(this);
- long result;
+ long result = -1;
for (int i = 0; i < amount; i++){
result = (long)ecore_main_loop_thread_safe_call_sync([](void *data)->void*{
TizenImpl *obj;