mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 23:40:13 +00:00
windows-mounttab-remove-debugging-20070207
remove unused variables
This commit is contained in:
parent
e9fb99c770
commit
92c282f40c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user