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

@ -339,7 +339,7 @@ cygwin_internal (cygwin_getinfo_types t, ...)
size_t n;
pid_t pid = va_arg (arg, pid_t);
pinfo p (pid);
res = (uintptr_t) p->cmdline (n);
res = (uintptr_t) (p ? p->cmdline (n) : NULL);
}
break;
case CW_CHECK_NTSEC: