diff options
author | Ken Brown <kbrown@cornell.edu> | 2017-09-16 22:04:14 -0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2017-10-09 11:44:11 +0200 |
commit | d1ea8f4a467af21737f29b225b72549d1346a7e2 (patch) | |
tree | 97d1315a91a1185a79a40daa9abde795c58b05b6 | |
parent | 911f7d628d06b15c79524020eed2d4fc8f2eb1ae (diff) | |
download | cygnal-d1ea8f4a467af21737f29b225b72549d1346a7e2.tar.gz cygnal-d1ea8f4a467af21737f29b225b72549d1346a7e2.tar.bz2 cygnal-d1ea8f4a467af21737f29b225b72549d1346a7e2.zip |
cygwin: Remove comparison of 'this' to 'NULL' in _pinfo::commune_request
Fix all callers.
-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 e792a0a1c..a068bcc42 100644 --- a/winsup/cygwin/pinfo.cc +++ b/winsup/cygwin/pinfo.cc @@ -720,7 +720,7 @@ _pinfo::commune_request (__uint32_t code, ...) res.s = NULL; res.n = 0; - if (!this || !pid) + if (!pid) { set_errno (ESRCH); goto err; |