windows-mounttab-remove-debugging-20070207

remove unused variables
This commit is contained in:
Jeffrey Altman 2007-02-07 16:37:42 +00:00
parent e9fb99c770
commit 92c282f40c

View File

@ -117,8 +117,6 @@ void Mount_OnInitDialog (HWND hDlg)
void Mount_OnUpdate (HWND hDlg, BOOL fOnInitDialog)
{
char dbgstr[128];
DRIVEMAPLIST List;
memset(&List, 0, sizeof(DRIVEMAPLIST));
QueryDriveMapList (&List);
@ -166,7 +164,6 @@ void Mount_OnUpdate (HWND hDlg, BOOL fOnInitDialog)
void Mount_OnSelect (HWND hDlg)
{
char dbgstr[128];
BOOL fServiceRunning = IsServiceRunning();
HWND hList = GetDlgItem (hDlg, IDC_LIST);
@ -183,7 +180,6 @@ void Mount_OnSelect (HWND hDlg)
void Mount_OnCheck (HWND hDlg)
{
char dbgstr[128];
DRIVEMAPLIST List;
QueryDriveMapList (&List);
@ -216,7 +212,6 @@ void Mount_OnCheck (HWND hDlg)
void Mount_OnRemove (HWND hDlg)
{
char dbgstr[128];
HWND hList = GetDlgItem (hDlg, IDC_LIST);
int iItemSel = LB_GetSelected(hList);
int iDriveSel = Mount_DriveFromItem (hDlg, iItemSel);
@ -256,7 +251,6 @@ void Mount_OnAdd (HWND hDlg)
void Mount_OnEdit (HWND hDlg)
{
char dbgstr[128];
HWND hList = GetDlgItem (hDlg, IDC_LIST);
int iItemSel = LB_GetSelected(hList);
int iDriveSel = Mount_DriveFromItem (hDlg, iItemSel);
@ -341,7 +335,6 @@ void Mount_AdjustMapping (HWND hDlg, int iDrive)
int Mount_DriveFromItem (HWND hDlg, int iItem)
{
char dbgstr[128];
TCHAR szItem[ 1024 ] = TEXT("");
SendDlgItemMessage (hDlg, IDC_LIST, LB_GETTEXT, iItem, (LPARAM)szItem);
@ -400,7 +393,6 @@ BOOL CALLBACK Mapping_DlgProc (HWND hDlg, UINT msg, WPARAM wp, LPARAM lp)
void Mapping_OnInitDialog (HWND hDlg)
{
char dbgstr[128];
PDRIVEMAP pMap = (PDRIVEMAP)GetWindowLongPtr (hDlg, DWLP_USER);
// Fill in the combo box
@ -456,7 +448,6 @@ void Mapping_OnInitDialog (HWND hDlg)
void Mapping_OnOK (HWND hDlg)
{
char dbgstr[128];
PDRIVEMAP pMap = (PDRIVEMAP)GetWindowLongPtr (hDlg, DWLP_USER);
int iItem = SendDlgItemMessage (hDlg, IDC_MAP_LETTER, CB_GETCURSEL, 0, 0);