mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[CPL][HDWWIZ] Move 'Index' and 'Item' variables to prologue
This commit is contained in:
parent
6fc6e3c398
commit
ce498aa571
1 changed files with 1 additions and 3 deletions
|
@ -400,6 +400,7 @@ static INT_PTR CALLBACK
|
|||
ProbeListPageDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
INT Index;
|
||||
LVITEM Item;
|
||||
|
||||
switch (uMsg)
|
||||
{
|
||||
|
@ -453,9 +454,6 @@ ProbeListPageDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
|
||||
case WM_DESTROY:
|
||||
{
|
||||
INT Index;
|
||||
LVITEM Item;
|
||||
|
||||
for (Index = ListView_GetItemCount(GetDlgItem(hwndDlg, IDC_PROBELIST)); --Index > 0;)
|
||||
{
|
||||
ZeroMemory(&Item, sizeof(LV_ITEM));
|
||||
|
|
Loading…
Reference in a new issue