Skip to content

Commit

Permalink
We don't guard against NULL args.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64375 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
wrowe committed Feb 24, 2003
1 parent a8b2ff2 commit c01e887
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions threadproc/os2/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -586,9 +586,6 @@ APR_DECLARE(apr_status_t) apr_proc_wait_all_procs(apr_proc_t *proc,
ULONG rc;
PID pid;

if (!proc)
return APR_ENOPROC;

rc = DosWaitChild(DCWA_PROCESSTREE, waithow == APR_WAIT ? DCWW_WAIT : DCWW_NOWAIT, &codes, &pid, 0);

if (rc == 0) {
Expand All @@ -611,10 +608,6 @@ APR_DECLARE(apr_status_t) apr_proc_wait(apr_proc_t *proc,
RESULTCODES codes;
ULONG rc;
PID pid;

if (!proc)
return APR_ENOPROC;

rc = DosWaitChild(DCWA_PROCESS, waithow == APR_WAIT ? DCWW_WAIT : DCWW_NOWAIT, &codes, &pid, proc->pid);

if (rc == 0) {
Expand Down

0 comments on commit c01e887

Please sign in to comment.