msi: Initialize the count variable to zero.

This commit is contained in:
James Hawkins 2008-10-09 04:45:25 -05:00 committed by Alexandre Julliard
parent 451aff9ae5
commit 68268dc3df
1 changed files with 1 additions and 0 deletions

View File

@ -2247,6 +2247,7 @@ static UINT msi_listbox_add_items( struct msi_listbox_info *info, LPCWSTR proper
return r;
/* just get the number of records */
count = 0;
r = MSI_IterateRecords( view, &count, NULL, NULL );
info->num_items = count;