inetcomm: Fully initialize start and length.

Should fix Valgrind warnings 'Conditional jump or move depends on
uninitialised value(s)' in inetcomm tests.
oldstable
Huw Davies 2008-06-09 11:37:23 +01:00 committed by Alexandre Julliard
parent 025457e09b
commit d9bf3b5c4a
1 changed files with 2 additions and 2 deletions

View File

@ -1629,8 +1629,8 @@ static body_t *create_sub_body(MimeMessage *msg, IStream *pStm, BODYOFFSETS *off
IStream *sub_stream;
ULARGE_INTEGER start, length;
start.u.LowPart = cur->offsets.cbHeaderStart;
length.u.LowPart = cur->offsets.cbBodyEnd - cur->offsets.cbHeaderStart;
start.QuadPart = cur->offsets.cbHeaderStart;
length.QuadPart = cur->offsets.cbBodyEnd - cur->offsets.cbHeaderStart;
create_sub_stream(pStm, start, length, &sub_stream);
sub_body = create_sub_body(msg, sub_stream, &cur->offsets, body);
IStream_Release(sub_stream);