Skip to content

Commit

Permalink
Fixed compile issue. (#2397)
Browse files Browse the repository at this point in the history
Fixed... [ERROR] (1) SystemInformer\phsvc\svcapiport.c(288): error C4700: uninitialized local variable 'clientId' used [C:\Source\SystemInformer\SystemInformer.vcxproj]
LINK : fatal error LNK1257: code generation failed [C:\Source\SystemInformer\SystemInformer.vcxproj]

Co-authored-by: Johnny Shaw <[email protected]>
  • Loading branch information
trparky and jxy-s authored Jan 21, 2025
1 parent c099554 commit 9a11caf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SystemInformer/phsvc/svcapiport.c
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ VOID PhSvcHandleConnectionRequest(
#endif // DEBUG
#if defined(PH_BUILD_API)
remoteFileName = NULL;
clientId = message->h.ClientId;
PhGetProcessImageFileNameByProcessId(clientId.UniqueProcess, &remoteFileName);
PH_AUTO(remoteFileName);

Expand Down

0 comments on commit 9a11caf

Please sign in to comment.