ntdll: Initialise the part of the buffer to be written to a file in the file test.

This commit is contained in:
Rob Shearman 2007-11-11 13:56:50 +00:00 committed by Alexandre Julliard
parent 6d11348963
commit 6c8ed9efbe
1 changed files with 2 additions and 0 deletions

View File

@ -101,6 +101,8 @@ static void read_file_test(void)
LARGE_INTEGER offset;
HANDLE event = CreateEventA( NULL, TRUE, FALSE, NULL );
buffer[0] = 1;
if (!create_pipe( &read, &write, FILE_FLAG_OVERLAPPED, 4096 )) return;
/* try read with no data */