[KERNEL32]
authorPierre Schweitzer <pierre@reactos.org>
Mon, 20 Oct 2014 20:26:07 +0000 (20:26 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Mon, 20 Oct 2014 20:26:07 +0000 (20:26 +0000)
Don't care for the return value (yet?) of StringCbPrintfW. This fixes release build.

svn path=/trunk/; revision=64853

reactos/dll/win32/kernel32/client/file/move.c

index 61cfde6..699c006 100644 (file)
@@ -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);