https://git.reactos.org/?p=reactos.git;a=commitdiff;h=1ee511a10c0a0529a0221…
commit 1ee511a10c0a0529a0221708150bc77ce879410b
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Wed Dec 25 19:02:48 2019 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Wed Dec 25 19:02:48 2019 +0100
[SHELL32] Fix MSVC warning warning C4390 by adding a bit more debug info.
---
dll/win32/shell32/CSendToMenu.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dll/win32/shell32/CSendToMenu.cpp b/dll/win32/shell32/CSendToMenu.cpp
index 8a7e1bc0bd8..fc4a224ea85 100644
--- a/dll/win32/shell32/CSendToMenu.cpp
+++ b/dll/win32/shell32/CSendToMenu.cpp
@@ -274,7 +274,7 @@ HRESULT CSendToMenu::CreateSendToFiles(LPCWSTR pszSendTo)
hr = CreateShellLink(szSendToFile, szTarget, NULL, NULL, NULL,
szShell32, -IDI_SHELL_MY_DOCUMENTS, NULL);
if (FAILED_UNEXPECTEDLY(hr))
- ;
+ ERR("CreateShellLink(%S, %S) failed!\n", szSendToFile, szTarget);
/* create desklink */
StringCbCopyW(szSendToFile, sizeof(szSendToFile), pszSendTo);