https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f1535c2d6e4f5e23e431a…
commit f1535c2d6e4f5e23e431a5e2125d021e52917a2e
Author: Serge Gautherie <reactos-git_serge_171003(a)gautherie.fr>
AuthorDate: Sun Feb 11 23:57:15 2018 +0100
Commit: Ged Murphy <gedmurphy(a)reactos.org>
CommitDate: Mon Feb 12 08:41:26 2018 +0000
[EXPLORER] Fix a Clang-Cl warning about Icon->ProcessId
"warning: expression result unused [-Wunused-value]"
Regressed in be2bf9b.
CORE-14306
---
base/shell/explorer/syspager.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/base/shell/explorer/syspager.cpp b/base/shell/explorer/syspager.cpp
index a1982e7881..7be7eeb694 100644
--- a/base/shell/explorer/syspager.cpp
+++ b/base/shell/explorer/syspager.cpp
@@ -332,7 +332,7 @@ bool CIconWatcher::AddIconToWatcher(_In_ CONST NOTIFYICONDATA
*iconData)
IconWatcherData *Icon = new IconWatcherData(iconData);
Icon->hProcess = hProcess;
- Icon->ProcessId;
+ Icon->ProcessId = ProcessId;
bool Added = false;
EnterCriticalSection(&m_ListLock);