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

Fix all callers.
This commit is contained in:
Ken Brown
2017-09-16 22:04:13 -04:00
committed by Corinna Vinschen
parent 571b7689bb
commit 911f7d628d
3 changed files with 3 additions and 3 deletions

View File

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