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:13 +0300
committerCorinna Vinschen <corinna@vinschen.de>2017-10-09 12:44:11 +0300
commit911f7d628d06b15c79524020eed2d4fc8f2eb1ae (patch)
tree070b144d4d0866c71e21349d63a30ae53a57399c /winsup/cygwin/pinfo.cc
parent571b7689bb690148b9747a125ff2db1d5accb561 (diff)
cygwin: Remove comparison of 'this' to 'NULL' in _pinfo::cmdline
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 c28158168..e792a0a1c 100644
--- a/winsup/cygwin/pinfo.cc
+++ b/winsup/cygwin/pinfo.cc
@@ -976,7 +976,7 @@ char *
_pinfo::cmdline (size_t& n)
{
char *s = NULL;
- if (!this || !pid)
+ if (!pid)
return NULL;
if (ISSTATE (this, PID_NOTCYGWIN))
{