X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/d9a64523371fa019c4575bb400cbbc3a50ac9903..e8c3f78193f1895ea514044358b93b1add9322f3:/osfmk/kperf/kperf.c diff --git a/osfmk/kperf/kperf.c b/osfmk/kperf/kperf.c index 831f3afd8..7d33d9f1b 100644 --- a/osfmk/kperf/kperf.c +++ b/osfmk/kperf/kperf.c @@ -344,7 +344,7 @@ kperf_port_to_pid(mach_port_name_t portname) } pid_t pid = task_pid(task); /* drop the ref taken by port_name_to_task */ - task_deallocate_internal(task); + (void)task_deallocate_internal(task); return pid; }