Module: wine Branch: master Commit: 68268dc3df2c6a05528ec9fe68959730f7417718 URL: http://source.winehq.org/git/wine.git/?a=commit;h=68268dc3df2c6a05528ec9fe68...
Author: James Hawkins jhawkins@codeweavers.com Date: Thu Oct 9 04:45:25 2008 -0500
msi: Initialize the count variable to zero.
---
dlls/msi/dialog.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/dialog.c b/dlls/msi/dialog.c index 799aa48..2dcb868 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;