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
@@ -529,7 +529,7 @@ _pinfo::set_ctty (fhandler_termios *fh, int flags)
|
||||
bool __reg1
|
||||
_pinfo::exists ()
|
||||
{
|
||||
return this && process_state && !(process_state & (PID_EXITED | PID_REAPED | PID_EXECED));
|
||||
return process_state && !(process_state & (PID_EXITED | PID_REAPED | PID_EXECED));
|
||||
}
|
||||
|
||||
bool
|
||||
|
Reference in New Issue
Block a user