msi: Initialize the count variable to zero.
This commit is contained in:
parent
451aff9ae5
commit
68268dc3df
|
@ -2247,6 +2247,7 @@ static UINT msi_listbox_add_items( struct msi_listbox_info *info, LPCWSTR proper
|
||||||
return r;
|
return r;
|
||||||
|
|
||||||
/* just get the number of records */
|
/* just get the number of records */
|
||||||
|
count = 0;
|
||||||
r = MSI_IterateRecords( view, &count, NULL, NULL );
|
r = MSI_IterateRecords( view, &count, NULL, NULL );
|
||||||
|
|
||||||
info->num_items = count;
|
info->num_items = count;
|
||||||
|
|
Loading…
Reference in New Issue