]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
windows-mounttab-remove-debugging-20070207
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 7 Feb 2007 16:37:42 +0000 (16:37 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 7 Feb 2007 16:37:42 +0000 (16:37 +0000)
remove unused variables

src/WINNT/client_creds/mounttab.cpp

index 840e3b5adc9dfa74e29c7422e2be3ae1309da9d7..f4e0860567d832eed3a91ef81fc4156a6c9e61e1 100644 (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);