Skip to content

Commit fa2d51d

Browse files
committed
Remove unused sessionid string
1 parent d7442cb commit fa2d51d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ProcessHacker/include/procprv.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ typedef struct _PH_PROCESS_ITEM
185185
PH_QUEUED_LOCK ServiceListLock;
186186

187187
WCHAR ProcessIdString[PH_INT32_STR_LEN_1];
188-
WCHAR ParentProcessIdString[PH_INT32_STR_LEN_1];
189-
WCHAR SessionIdString[PH_INT32_STR_LEN_1];
188+
//WCHAR ParentProcessIdString[PH_INT32_STR_LEN_1];
189+
//WCHAR SessionIdString[PH_INT32_STR_LEN_1];
190190

191191
// Dynamic
192192

ProcessHacker/procprv.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* process provider
44
*
55
* Copyright (C) 2009-2016 wj32
6-
* Copyright (C) 2017-2019 dmex
6+
* Copyright (C) 2017-2022 dmex
77
* Copyright (C) 2020-2021 jxy-s
88
*
99
* This file is part of Process Hacker.
@@ -1206,8 +1206,8 @@ VOID PhpFillProcessItem(
12061206
if (PH_IS_REAL_PROCESS_ID(ProcessItem->ProcessId))
12071207
{
12081208
PhPrintUInt32(ProcessItem->ProcessIdString, HandleToUlong(ProcessItem->ProcessId));
1209-
PhPrintUInt32(ProcessItem->ParentProcessIdString, HandleToUlong(ProcessItem->ParentProcessId));
1210-
PhPrintUInt32(ProcessItem->SessionIdString, ProcessItem->SessionId);
1209+
//PhPrintUInt32(ProcessItem->ParentProcessIdString, HandleToUlong(ProcessItem->ParentProcessId));
1210+
//PhPrintUInt32(ProcessItem->SessionIdString, ProcessItem->SessionId);
12111211
}
12121212

12131213
// Open a handle to the process for later usage.

0 commit comments

Comments
 (0)