X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/5ba3f43ea354af8ad55bea84372a2bc834d8757c..d9a64523371fa019c4575bb400cbbc3a50ac9903:/bsd/kern/process_policy.c diff --git a/bsd/kern/process_policy.c b/bsd/kern/process_policy.c index 0a0b43e66..8c2b5b230 100644 --- a/bsd/kern/process_policy.c +++ b/bsd/kern/process_policy.c @@ -252,7 +252,7 @@ handle_lowresource(__unused int scope, int action, __unused int policy, int poli static int handle_cpuuse(int action, user_addr_t attrp, proc_t proc, __unused uint64_t target_threadid) { - proc_policy_cpuusage_attr_t cpuattr; + proc_policy_cpuusage_attr_t cpuattr = { }; #if CONFIG_MACF || !CONFIG_EMBEDDED proc_t curp = current_proc(); #endif