From: Pierre Schweitzer Date: Mon, 20 Oct 2014 20:26:07 +0000 (+0000) Subject: [KERNEL32] X-Git-Tag: backups/tcpip_revolution@71025~383 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=8dfcb13a92c1718f30caea7c22ce6ec5de7b397e [KERNEL32] Don't care for the return value (yet?) of StringCbPrintfW. This fixes release build. svn path=/trunk/; revision=64853 --- diff --git a/reactos/dll/win32/kernel32/client/file/move.c b/reactos/dll/win32/kernel32/client/file/move.c index 61cfde639e0..699c006b753 100644 --- a/reactos/dll/win32/kernel32/client/file/move.c +++ b/reactos/dll/win32/kernel32/client/file/move.c @@ -63,8 +63,7 @@ BasepMoveFileDelayed(IN PUNICODE_STRING ExistingPath, } 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);