Author: pschweitzer
Date: Mon Oct 20 20:26:07 2014
New Revision: 64853
URL:
http://svn.reactos.org/svn/reactos?rev=64853&view=rev
Log:
[KERNEL32]
Don't care for the return value (yet?) of StringCbPrintfW. This fixes release build.
Modified:
trunk/reactos/dll/win32/kernel32/client/file/move.c
Modified: trunk/reactos/dll/win32/kernel32/client/file/move.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/client/…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/client/file/move.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/client/file/move.c [iso-8859-1] Mon Oct 20 20:26:07
2014
@@ -63,8 +63,7 @@
}
else
{
- HRESULT hr = StringCbPrintfW(PendingOperationsBuffer,
sizeof(PendingOperationsBuffer), L"PendingFileRenameOperations%d", KeyId);
- ASSERT(SUCCEEDED(hr));
+ StringCbPrintfW(PendingOperationsBuffer, sizeof(PendingOperationsBuffer),
L"PendingFileRenameOperations%d", KeyId);
PendingOperations = PendingOperationsBuffer;
}
RtlInitUnicodeString(&PendingOperationsString, PendingOperations);