Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Brown <kbrown@cornell.edu>2017-09-17 05:04:15 +0300
committerCorinna Vinschen <corinna@vinschen.de>2017-10-09 12:44:11 +0300
commit56f23a510703b399bdf9268b0a6230470531ab8c (patch)
tree2516b35201a63259c859fb19cfe3c7cd9c6e3e53 /winsup/cygwin/pinfo.cc
parentd1ea8f4a467af21737f29b225b72549d1346a7e2 (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.cc2
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;