mirror of
https://github.com/reactos/reactos.git
synced 2025-01-04 21:38:43 +00:00
initialize FileName and SourceBuffer
svn path=/trunk/; revision=30614
This commit is contained in:
parent
fc02f8d454
commit
4f69fa75ae
2 changed files with 2 additions and 2 deletions
|
@ -712,7 +712,7 @@ CabinetFindNext(PCAB_SEARCH Search)
|
||||||
PCFFILE Prev;
|
PCFFILE Prev;
|
||||||
ANSI_STRING AnsiString;
|
ANSI_STRING AnsiString;
|
||||||
UNICODE_STRING UnicodeString;
|
UNICODE_STRING UnicodeString;
|
||||||
WCHAR FileName[MAX_PATH];
|
WCHAR FileName[MAX_PATH] = {L'\0'};
|
||||||
|
|
||||||
if( wcscmp( Search->Cabinet, CabinetName ) != 0 )
|
if( wcscmp( Search->Cabinet, CabinetName ) != 0 )
|
||||||
Search->File = 0; // restart search of cabinet has changed since last find
|
Search->File = 0; // restart search of cabinet has changed since last find
|
||||||
|
|
|
@ -41,7 +41,7 @@ GetSourcePaths(PUNICODE_STRING SourcePath,
|
||||||
OBJECT_ATTRIBUTES ObjectAttributes;
|
OBJECT_ATTRIBUTES ObjectAttributes;
|
||||||
UNICODE_STRING LinkName;
|
UNICODE_STRING LinkName;
|
||||||
UNICODE_STRING SourceName;
|
UNICODE_STRING SourceName;
|
||||||
WCHAR SourceBuffer[MAX_PATH];
|
WCHAR SourceBuffer[MAX_PATH] = {L'\0'};
|
||||||
HANDLE Handle;
|
HANDLE Handle;
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
ULONG Length;
|
ULONG Length;
|
||||||
|
|
Loading…
Reference in a new issue