cygwin: Remove comparison of 'this' to 'NULL' in _pinfo::environ

Fix all callers.
This commit is contained in:
Ken Brown
2017-09-16 22:04:17 -04:00
committed by Corinna Vinschen
parent 6cd1978fc8
commit d17c45f200
2 changed files with 2 additions and 2 deletions

View File

@ -583,7 +583,7 @@ format_process_environ (void *data, char *&destbuf)
cfree (destbuf);
destbuf = NULL;
}
destbuf = p->environ (fs);
destbuf = p ? p->environ (fs) : NULL;
if (!destbuf || !*destbuf)
{
destbuf = cstrdup ("<defunct>");