diff options
author | Ken Brown <kbrown@cornell.edu> | 2017-09-17 05:04:15 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2017-10-09 12:44:11 +0300 |
commit | 56f23a510703b399bdf9268b0a6230470531ab8c (patch) | |
tree | 2516b35201a63259c859fb19cfe3c7cd9c6e3e53 /winsup/cygwin/pinfo.cc | |
parent | d1ea8f4a467af21737f29b225b72549d1346a7e2 (diff) |
cygwin: Remove comparison of 'this' to 'NULL' in _pinfo::pipe_fhandler
Fix all callers.
Diffstat (limited to 'winsup/cygwin/pinfo.cc')
-rw-r--r-- | winsup/cygwin/pinfo.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc index a068bcc42..72aa658eb 100644 --- a/winsup/cygwin/pinfo.cc +++ b/winsup/cygwin/pinfo.cc @@ -819,7 +819,7 @@ out: fhandler_pipe * _pinfo::pipe_fhandler (int64_t unique_id, size_t &n) { - if (!this || !pid) + if (!pid) return NULL; if (pid == myself->pid) return NULL; |