Commit 68268dc3 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

msi: Initialize the count variable to zero.

parent 451aff9a
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment