Commit cd958391 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

winecfg: Remove variable drive which is not really used from DriveDlgProc.

parent af72df25
...@@ -736,7 +736,6 @@ INT_PTR CALLBACK ...@@ -736,7 +736,6 @@ INT_PTR CALLBACK
DriveDlgProc (HWND dialog, UINT msg, WPARAM wParam, LPARAM lParam) DriveDlgProc (HWND dialog, UINT msg, WPARAM wParam, LPARAM lParam)
{ {
int item; int item;
struct drive *drive;
switch (msg) switch (msg)
{ {
...@@ -813,7 +812,7 @@ DriveDlgProc (HWND dialog, UINT msg, WPARAM wParam, LPARAM lParam) ...@@ -813,7 +812,7 @@ DriveDlgProc (HWND dialog, UINT msg, WPARAM wParam, LPARAM lParam)
case IDC_BUTTON_EDIT: case IDC_BUTTON_EDIT:
if (HIWORD(wParam) != BN_CLICKED) break; if (HIWORD(wParam) != BN_CLICKED) break;
item = SendMessage(GetDlgItem(dialog, IDC_LIST_DRIVES), LB_GETCURSEL, 0, 0); item = SendMessage(GetDlgItem(dialog, IDC_LIST_DRIVES), LB_GETCURSEL, 0, 0);
drive = (struct drive *) SendMessage(GetDlgItem(dialog, IDC_LIST_DRIVES), LB_GETITEMDATA, item, 0); SendMessage(GetDlgItem(dialog, IDC_LIST_DRIVES), LB_GETITEMDATA, item, 0);
break; break;
case IDC_BUTTON_AUTODETECT: case IDC_BUTTON_AUTODETECT:
......
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