Author: sginsberg Date: Tue Aug 19 16:09:58 2008 New Revision: 35462
URL: http://svn.reactos.org/svn/reactos?rev=35462&view=rev Log: - Remove dead code
Modified: trunk/reactos/ntoskrnl/rtl/libsupp.c
Modified: trunk/reactos/ntoskrnl/rtl/libsupp.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/rtl/libsupp.c?rev=... ============================================================================== --- trunk/reactos/ntoskrnl/rtl/libsupp.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/rtl/libsupp.c [iso-8859-1] Tue Aug 19 16:09:58 2008 @@ -557,30 +557,6 @@ return Entry; }
-/* FIXME - RtlpCreateUnicodeString is obsolete and should be removed ASAP! */ -BOOLEAN FASTCALL -RtlpCreateUnicodeString( - IN OUT PUNICODE_STRING UniDest, - IN PCWSTR Source, - IN POOL_TYPE PoolType) -{ - ULONG Length; - - Length = (wcslen (Source) + 1) * sizeof(WCHAR); - UniDest->Buffer = ExAllocatePoolWithTag(PoolType, Length, TAG('U', 'S', 'T', 'R')); - if (UniDest->Buffer == NULL) - return FALSE; - - RtlCopyMemory (UniDest->Buffer, - Source, - Length); - - UniDest->MaximumLength = (USHORT)Length; - UniDest->Length = (USHORT)Length - sizeof (WCHAR); - - return TRUE; -} - /* * Ldr Resource support code */