cygwin: Remove comparison of 'this' to NULL in _pinfo::exists
Fix all callers.
This commit is contained in:
committed by
Corinna Vinschen
parent
5952d5f08f
commit
7212b571a5
@ -332,7 +332,7 @@ kill_pgrp (pid_t pid, siginfo_t& si)
|
||||
{
|
||||
_pinfo *p = pids[i];
|
||||
|
||||
if (!p->exists ())
|
||||
if (!p || !p->exists ())
|
||||
continue;
|
||||
|
||||
/* Is it a process we want to kill? */
|
||||
|
Reference in New Issue
Block a user