- client: win compile warning fix

This commit is contained in:
David Anderson 2013-04-18 12:45:19 -07:00
parent aa07305eeb
commit 9a073defd1
1 changed files with 0 additions and 1 deletions

View File

@ -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);