mirror of https://github.com/BOINC/boinc.git
- client: win compile warning fix
This commit is contained in:
parent
aa07305eeb
commit
9a073defd1
|
@ -210,7 +210,6 @@ int ACTIVE_TASK::request_abort() {
|
|||
|
||||
#ifdef _WIN32
|
||||
static void kill_app_process(int pid, bool will_restart) {
|
||||
int retval = 0;
|
||||
HANDLE h = OpenProcess(READ_CONTROL | PROCESS_TERMINATE, false, pid);
|
||||
if (h == NULL) return;
|
||||
TerminateProcess(h, will_restart?0:EXIT_ABORTED_BY_CLIENT);
|
||||
|
|
Loading…
Reference in New Issue