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:17 +0300
committerCorinna Vinschen <corinna@vinschen.de>2017-10-09 12:44:11 +0300
commitd17c45f200c3b68fe1c99e413b0444366bfd9290 (patch)
tree3653796b0ca45b90f575f4411da917c7acf40606 /winsup/cygwin/pinfo.cc
parent6cd1978fc81a2046fa0b27ff63b015f31d49ec77 (diff)
cygwin: Remove comparison of 'this' to 'NULL' in _pinfo::environ
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 044c4fc3c..7193f6884 100644
--- a/winsup/cygwin/pinfo.cc
+++ b/winsup/cygwin/pinfo.cc
@@ -1036,7 +1036,7 @@ char *
_pinfo::environ (size_t& n)
{
char **env = NULL;
- if (!this || !pid)
+ if (!pid)
return NULL;
if (ISSTATE (this, PID_NOTCYGWIN))
{