Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
CloseHandle(exe->process);
exe->process = NULL;
exe->sig = ECORE_EXE_WIN32_SIGINT;
- while (EnumWindows(_ecore_exe_enum_windows_procedure, (LPARAM)obj)) ;
+ EnumWindows(_ecore_exe_enum_windows_procedure, (LPARAM)obj);
}
void
CloseHandle(exe->process);
exe->process = NULL;
exe->sig = ECORE_EXE_WIN32_SIGQUIT;
- while (EnumWindows(_ecore_exe_enum_windows_procedure, (LPARAM)obj)) ;
+ EnumWindows(_ecore_exe_enum_windows_procedure, (LPARAM)obj);
}
void