lib: Remove setting of already set process props

This commit is contained in:
Dmitry Tsarevich 2020-05-06 22:48:02 +03:00
parent ddaf91e820
commit 95941d3431
No known key found for this signature in database
GPG Key ID: E3C61298FF5B1274
1 changed files with 0 additions and 2 deletions

View File

@ -96,8 +96,6 @@ int get_procinfo_XP(PROC_MAP& pm) {
p.page_fault_count = pProcesses->VmCounters.PageFaultCount;
p.user_time = ((double) pProcesses->UserTime.QuadPart)/1e7;
p.kernel_time = ((double) pProcesses->KernelTime.QuadPart)/1e7;
p.id = pProcesses->ProcessId;
p.parentid = pProcesses->InheritedFromProcessId;
p.is_low_priority = (pProcesses->BasePriority <= 4);
WideCharToMultiByte(CP_ACP, 0,
pProcesses->ProcessName.Buffer,