mirror of
https://github.com/reactos/reactos.git
synced 2025-01-02 20:43:18 +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;
|
||||
ANSI_STRING AnsiString;
|
||||
UNICODE_STRING UnicodeString;
|
||||
WCHAR FileName[MAX_PATH];
|
||||
WCHAR FileName[MAX_PATH] = {L'\0'};
|
||||
|
||||
if( wcscmp( Search->Cabinet, CabinetName ) != 0 )
|
||||
Search->File = 0; // restart search of cabinet has changed since last find
|
||||
|
|
|
@ -41,7 +41,7 @@ GetSourcePaths(PUNICODE_STRING SourcePath,
|
|||
OBJECT_ATTRIBUTES ObjectAttributes;
|
||||
UNICODE_STRING LinkName;
|
||||
UNICODE_STRING SourceName;
|
||||
WCHAR SourceBuffer[MAX_PATH];
|
||||
WCHAR SourceBuffer[MAX_PATH] = {L'\0'};
|
||||
HANDLE Handle;
|
||||
NTSTATUS Status;
|
||||
ULONG Length;
|
||||
|
|
Loading…
Reference in a new issue