From 68268dc3df2c6a05528ec9fe68959730f7417718 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Thu, 9 Oct 2008 04:45:25 -0500 Subject: [PATCH] msi: Initialize the count variable to zero. --- dlls/msi/dialog.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/msi/dialog.c b/dlls/msi/dialog.c index 799aa48f60a..2dcb8680f23 100644 --- a/dlls/msi/dialog.c +++ b/dlls/msi/dialog.c @@ -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;