1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-27 04:32:55 +00:00

Don't do unneeded sp_acopy() calls

This commit is contained in:
Alexander Graf 2009-02-08 16:05:42 +01:00
parent b4f06b7547
commit 04623066d7

View File

@ -561,7 +561,11 @@ void process_find_top(struct process **cpu, struct process **mem,
}
cur_proc = cur_proc->next;
}
if (top_cpu)
sp_acopy(spc_head, cpu, MAX_SP);
if (top_mem)
sp_acopy(spm_head, mem, MAX_SP);
if (top_time)
sp_acopy(spt_head, time, MAX_SP);
}