[OpenAFS-devel] [PATCH] flexelint: missing cases, missing default case in switch
statements
Joe Buehler
jbuehler@hekimian.com
Fri, 21 Nov 2003 14:32:09 -0500
This is a multi-part message in MIME format.
--------------030906060305010206040207
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
This patch adds missing cases and missing default cases to
switch statements. There are a number of places where
the omissions looked suspect; I have added comments to
most such places (not all).
There are a couple other problems noted. In particular,
there is one place where the case fall-through looks
suspicious.
--
Joe Buehler
--------------030906060305010206040207
Content-Type: text/plain;
name="temp.patch.missing-case"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="temp.patch.missing-case"
--- ./src/WINNT/afsadmsvr/TaAfsAdmSvr.cpp.~1~ 2000-11-04 05:01:13.000000000 -0500
+++ ./src/WINNT/afsadmsvr/TaAfsAdmSvr.cpp 2003-11-20 16:13:46.000000000 -0500
@@ -374,6 +374,12 @@
rc = AfsAdmSvr_Search_OneGroup (pidObject, idSearchScope, szName, &status);
break;
+ case TYPE_CELL:
+ case TYPE_SERVER:
+ case TYPE_SERVICE:
+ case TYPE_PARTITION:
+ case TYPE_VOLUME:
+ case TYPE_ANY:
default:
// We'll have to do the search the hard way. First
// see if we need to refresh this cell/server.
@@ -428,6 +434,15 @@
status = ERROR_INVALID_PARAMETER;
}
break;
+
+ case itUNUSED:
+ case itSERVICE:
+ case itFILESET:
+ case itUSER:
+ case itGROUP:
+ default:
+ /* keep lint happy */
+ break;
}
break;
}
--- ./src/WINNT/afsadmsvr/TaAfsAdmSvr.cpp.~1~ 2000-11-04 05:01:13.000000000 -0500
+++ ./src/WINNT/afsadmsvr/TaAfsAdmSvr.cpp 2003-11-20 16:13:46.000000000 -0500
@@ -524,6 +543,15 @@
status = ERROR_INVALID_PARAMETER;
}
break;
+
+ case itUNUSED:
+ case itSERVICE:
+ case itFILESET:
+ case itUSER:
+ case itGROUP:
+ default:
+ /* keep lint happy */
+ break;
}
if (rc && (*ppList) && (pSearchParams))
--- ./src/WINNT/afsadmsvr/TaAfsAdmSvrProperties.cpp.~1~ 2000-11-04 05:01:16.000000000 -0500
+++ ./src/WINNT/afsadmsvr/TaAfsAdmSvrProperties.cpp 2003-11-20 16:20:45.000000000 -0500
@@ -445,6 +446,11 @@
lpGroup->Close();
}
break;
+
+ case itUNUSED:
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afsadmsvr/TaAfsAdmSvrProperties.cpp.~1~ 2000-11-04 05:01:16.000000000 -0500
+++ ./src/WINNT/afsadmsvr/TaAfsAdmSvrProperties.cpp 2003-11-20 16:20:45.000000000 -0500
@@ -552,6 +558,128 @@
case evtRefreshStatusEnd:
AfsAdmSvr_TestProperties ((ASID)(pParams->lpi1));
break;
+
+ case evtInvalidate:
+ case evtRefreshStatusBegin:
+ case evtRefreshServersBegin:
+ case evtRefreshServersEnd:
+ case evtRefreshServicesBegin:
+ case evtRefreshServicesEnd:
+ case evtRefreshAggregatesBegin:
+ case evtRefreshAggregatesEnd:
+ case evtRefreshFilesetsBegin:
+ case evtRefreshFilesetsEnd:
+ case evtRefreshUsersBegin:
+ case evtRefreshUsersEnd:
+ case evtRefreshAllUpdate:
+ case evtRefreshAllSectionStart:
+ case evtRefreshAllSectionEnd:
+ case evtOpenCellBegin:
+ case evtOpenCellEnd:
+ case evtSyncVLDBBegin:
+ case evtSyncVLDBEnd:
+ case evtGetServerLogFileBegin:
+ case evtGetServerLogFileEnd:
+ case evtInstallFileBegin:
+ case evtInstallFileEnd:
+ case evtUninstallFileBegin:
+ case evtUninstallFileEnd:
+ case evtGetFileDatesBegin:
+ case evtGetFileDatesEnd:
+ case evtPruneFilesBegin:
+ case evtPruneFilesEnd:
+ case evtSetServerAuthBegin:
+ case evtSetServerAuthEnd:
+ case evtGetRestartTimesBegin:
+ case evtGetRestartTimesEnd:
+ case evtSetRestartTimesBegin:
+ case evtSetRestartTimesEnd:
+ case evtChangeAddressBegin:
+ case evtChangeAddressEnd:
+ case evtAdminListLoadBegin:
+ case evtAdminListLoadEnd:
+ case evtAdminListSaveBegin:
+ case evtAdminListSaveEnd:
+ case evtKeyListLoadBegin:
+ case evtKeyListLoadEnd:
+ case evtHostListLoadBegin:
+ case evtHostListLoadEnd:
+ case evtHostListSaveBegin:
+ case evtHostListSaveEnd:
+ case evtCreateServiceBegin:
+ case evtCreateServiceEnd:
+ case evtDeleteServiceBegin:
+ case evtDeleteServiceEnd:
+ case evtStartServiceBegin:
+ case evtStartServiceEnd:
+ case evtStopServiceBegin:
+ case evtStopServiceEnd:
+ case evtRestartServiceBegin:
+ case evtRestartServiceEnd:
+ case evtCreateFilesetBegin:
+ case evtCreateFilesetEnd:
+ case evtMoveFilesetBegin:
+ case evtMoveFilesetEnd:
+ case evtCreateReplicaBegin:
+ case evtCreateReplicaEnd:
+ case evtRenameFilesetBegin:
+ case evtRenameFilesetEnd:
+ case evtCloneMultipleBegin:
+ case evtCloneMultipleEnd:
+ case evtDumpFilesetBegin:
+ case evtDumpFilesetEnd:
+ case evtRestoreFilesetBegin:
+ case evtRestoreFilesetEnd:
+ case evtDeleteFilesetBegin:
+ case evtDeleteFilesetEnd:
+ case evtSetFilesetQuotaBegin:
+ case evtSetFilesetQuotaEnd:
+ case evtLockFilesetBegin:
+ case evtLockFilesetEnd:
+ case evtUnlockFilesetBegin:
+ case evtUnlockFilesetEnd:
+ case evtUnlockAllFilesetsBegin:
+ case evtUnlockAllFilesetsEnd:
+ case evtSetFilesetRepParamsBegin:
+ case evtSetFilesetRepParamsEnd:
+ case evtReleaseFilesetBegin:
+ case evtReleaseFilesetEnd:
+ case evtCloneBegin:
+ case evtCloneEnd:
+ case evtSetFilesetOwnerGroupBegin:
+ case evtSetFilesetOwnerGroupEnd:
+ case evtSetFilesetPermissionsBegin:
+ case evtSetFilesetPermissionsEnd:
+ case evtExecuteCommandBegin:
+ case evtExecuteCommandEnd:
+ case evtSalvageBegin:
+ case evtSalvageEnd:
+ case evtCreateUserBegin:
+ case evtCreateUserEnd:
+ case evtChangeUserBegin:
+ case evtChangeUserEnd:
+ case evtChangeUserPasswordBegin:
+ case evtChangeUserPasswordEnd:
+ case evtDeleteUserBegin:
+ case evtDeleteUserEnd:
+ case evtUnlockUserBegin:
+ case evtUnlockUserEnd:
+ case evtCreateGroupBegin:
+ case evtCreateGroupEnd:
+ case evtChangeGroupBegin:
+ case evtChangeGroupEnd:
+ case evtRenameGroupBegin:
+ case evtRenameGroupEnd:
+ case evtDeleteGroupBegin:
+ case evtDeleteGroupEnd:
+ case evtGroupMemberAddBegin:
+ case evtGroupMemberAddEnd:
+ case evtGroupMemberRemoveBegin:
+ case evtGroupMemberRemoveEnd:
+ case evtUser:
+ default:
+ /* keep lint happy */
+ break;
}
return TRUE;
--- ./src/WINNT/afsadmsvr/TaAfsAdmSvrSearch.cpp.~1~ 2000-11-04 05:01:17.000000000 -0500
+++ ./src/WINNT/afsadmsvr/TaAfsAdmSvrSearch.cpp 2003-11-20 16:22:43.000000000 -0500
@@ -912,6 +918,11 @@
}
}
break;
+
+ case SEARCH_NO_LIMITATIONS: /* FIXME: this was added because it was missing */
+ default:
+ /* keep lint happy */
+ break;
}
}
}
--- ./src/WINNT/afsapplib/afsapplib.cpp.~1~ 2000-11-04 05:01:18.000000000 -0500
+++ ./src/WINNT/afsapplib/afsapplib.cpp 2003-11-20 13:55:53.000000000 -0500
@@ -90,6 +90,10 @@
case WM_DESTROY:
AfsAppLib_SetMainWindow (NULL);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
if (oldProc)
--- ./src/WINNT/afsapplib/al_browse.cpp.~1~ 2000-11-04 05:01:18.000000000 -0500
+++ ./src/WINNT/afsapplib/al_browse.cpp 2003-11-20 13:56:09.000000000 -0500
@@ -170,6 +170,10 @@
case NM_DBLCLK:
PostMessage (hDlg, WM_COMMAND, MAKELONG(IDC_BROWSE_SELECT,BN_CLICKED), (LPARAM)GetDlgItem(hDlg,IDC_BROWSE_SELECT));
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afsapplib/al_browse.cpp.~1~ 2000-11-04 05:01:18.000000000 -0500
+++ ./src/WINNT/afsapplib/al_browse.cpp 2003-11-20 13:56:09.000000000 -0500
@@ -272,8 +276,16 @@
case IDC_BROWSE_NONE:
DlgProc_Browse_OnNone (hDlg, pbdp);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afsapplib/al_browseset.cpp.~1~ 2000-11-04 05:01:19.000000000 -0500
+++ ./src/WINNT/afsapplib/al_browseset.cpp 2003-11-20 13:56:24.000000000 -0500
@@ -130,6 +130,10 @@
BrowseSet_StartSearch (hDlg, lpp);
PostMessage (hDlg, WM_NEXTDLGCTL, (WPARAM)GetDlgItem (hDlg, IDC_BROWSE_NAMED), (LPARAM)TRUE);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afsapplib/al_browseset.cpp.~1~ 2000-11-04 05:01:19.000000000 -0500
+++ ./src/WINNT/afsapplib/al_browseset.cpp 2003-11-20 13:56:24.000000000 -0500
@@ -144,8 +148,16 @@
case NM_DBLCLK:
PostMessage (hDlg, WM_COMMAND, MAKELONG(IDOK,BN_CLICKED), (LPARAM)GetDlgItem(hDlg,IDOK));
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afsapplib/al_cover.cpp.~1~ 2000-11-04 05:01:19.000000000 -0500
+++ ./src/WINNT/afsapplib/al_cover.cpp 2003-11-20 15:35:50.000000000 -0500
@@ -276,8 +276,14 @@
case IDC_COVER_BUTTON:
PostMessage (GetParent(hDlg), WM_COMMAND, wp, lp);
break;
+ default:
+ /* keep lint happy */
+ break;
}
break;
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsapplib/al_creds.cpp.~1~ 2000-11-04 05:01:19.000000000 -0500
+++ ./src/WINNT/afsapplib/al_creds.cpp 2003-11-20 13:57:01.000000000 -0500
@@ -232,14 +232,26 @@
case CBN_EDITCHANGE:
OpenCell_OnCell (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
case WM_REFRESHED_CREDENTIALS:
OpenCell_OnGotCreds (hDlg, lp);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsapplib/al_creds.cpp.~1~ 2000-11-04 05:01:19.000000000 -0500
+++ ./src/WINNT/afsapplib/al_creds.cpp 2003-11-20 13:57:01.000000000 -0500
@@ -525,8 +537,16 @@
case IDC_CREDS_LOGIN:
NewCreds_OnLogin (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsapplib/al_creds.cpp.~1~ 2000-11-04 05:01:19.000000000 -0500
+++ ./src/WINNT/afsapplib/al_creds.cpp 2003-11-20 13:57:01.000000000 -0500
@@ -813,8 +833,15 @@
*lpp->bcdp.pfShowWarningEver = !IsDlgButtonChecked (hDlg, IDC_BADCREDS_SHUTUP);
EndDialog (hDlg, LOWORD(wp));
break;
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsapplib/al_error.cpp.~1~ 2000-11-04 05:01:19.000000000 -0500
+++ ./src/WINNT/afsapplib/al_error.cpp 2003-11-20 13:57:09.000000000 -0500
@@ -194,8 +194,15 @@
case IDCANCEL:
EndDialog (hDlg, LOWORD(wp));
break;
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsapplib/al_help.cpp.~1~ 2000-11-04 05:01:19.000000000 -0500
+++ ./src/WINNT/afsapplib/al_help.cpp 2003-11-20 13:57:15.000000000 -0500
@@ -109,6 +109,10 @@
rc = TRUE;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afsapplib/al_help.cpp.~1~ 2000-11-04 05:01:19.000000000 -0500
+++ ./src/WINNT/afsapplib/al_help.cpp 2003-11-20 13:57:15.000000000 -0500
@@ -135,6 +139,10 @@
rc = TRUE;
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return rc;
--- ./src/WINNT/afsapplib/al_misc.cpp.~1~ 2000-11-04 05:01:20.000000000 -0500
+++ ./src/WINNT/afsapplib/al_misc.cpp 2003-11-20 13:57:25.000000000 -0500
@@ -82,6 +82,9 @@
RegisterFastListClass();
}
break;
+ default:
+ /* keep lint happy */
+ break;
}
return TRUE;
}
--- ./src/WINNT/afsapplib/al_misc.cpp.~1~ 2000-11-04 05:01:20.000000000 -0500
+++ ./src/WINNT/afsapplib/al_misc.cpp 2003-11-20 13:57:25.000000000 -0500
@@ -175,6 +178,10 @@
case WM_DESTROY:
Subclass_RemoveHook (hIcon, AnimationHook);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
if (oldProc)
--- ./src/WINNT/afsapplib/al_progress.cpp.~1~ 2000-11-04 05:01:20.000000000 -0500
+++ ./src/WINNT/afsapplib/al_progress.cpp 2003-11-20 13:57:29.000000000 -0500
@@ -201,6 +201,10 @@
case WM_DESTROY:
Subclass_RemoveHook (hWnd, PROGRESSDISPLAY::ProgressDisplay_HookProc);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
if (oldproc)
--- ./src/WINNT/afsapplib/al_wizard.cpp.~1~ 2000-11-04 05:01:20.000000000 -0500
+++ ./src/WINNT/afsapplib/al_wizard.cpp 2003-11-20 13:57:55.000000000 -0500
@@ -664,6 +664,10 @@
case WM_COMMAND:
return pWiz->Template_ForwardMessage (hWnd, msg, wp, lp);
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsapplib/al_wizard.cpp.~1~ 2000-11-04 05:01:20.000000000 -0500
+++ ./src/WINNT/afsapplib/al_wizard.cpp 2003-11-20 13:57:55.000000000 -0500
@@ -688,6 +692,10 @@
case WM_DESTROY:
Subclass_RemoveHook (hLHS, WIZARD::Template_LeftPaneHook);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
if (oldProc)
--- ./src/WINNT/afsapplib/al_wizard.cpp.~1~ 2000-11-04 05:01:20.000000000 -0500
+++ ./src/WINNT/afsapplib/al_wizard.cpp 2003-11-20 13:57:55.000000000 -0500
@@ -955,8 +963,15 @@
else
DestroyWindow (hBkg);
break;
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
if (pWiz && pWiz->m_fnBackground)
--- ./src/WINNT/afsapplib/al_wizard.cpp.~1~ 2000-11-04 05:01:20.000000000 -0500
+++ ./src/WINNT/afsapplib/al_wizard.cpp 2003-11-20 13:57:55.000000000 -0500
@@ -987,6 +1002,10 @@
case WM_DESTROY:
Subclass_RemoveHook (hBkg, WIZARD::Background_PaintHook);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
if (oldProc)
--- ./src/WINNT/afsapplib/checklist.cpp.~1~ 2000-11-04 05:01:20.000000000 -0500
+++ ./src/WINNT/afsapplib/checklist.cpp 2003-11-20 13:58:01.000000000 -0500
@@ -213,6 +213,10 @@
case LB_SETCHECK:
return CheckList_OnSetCheck (hList, wp, lp);
+
+ default:
+ /* keep lint happy */
+ break;
}
if (procListbox)
--- ./src/WINNT/afsapplib/checklist.cpp.~1~ 2000-11-04 05:01:20.000000000 -0500
+++ ./src/WINNT/afsapplib/checklist.cpp 2003-11-20 13:58:01.000000000 -0500
@@ -262,6 +266,10 @@
return (BOOL)hbrStatic;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
if (procOld)
--- ./src/WINNT/afsapplib/ctl_date.cpp.~1~ 2000-11-04 05:01:21.000000000 -0500
+++ ./src/WINNT/afsapplib/ctl_date.cpp 2003-11-20 13:58:28.000000000 -0500
@@ -250,6 +250,10 @@
case VK_END:
PostMessage (GetParent(pdi->hSpinner), WM_VSCROLL, SB_BOTTOM, (LPARAM)pdi->hSpinner);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afsapplib/ctl_date.cpp.~1~ 2000-11-04 05:01:21.000000000 -0500
+++ ./src/WINNT/afsapplib/ctl_date.cpp 2003-11-20 13:58:28.000000000 -0500
@@ -258,6 +262,10 @@
case DM_SETDATE:
return Date_OnSetDate (pdi, wp, lp);
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afsapplib/ctl_date.cpp.~1~ 2000-11-04 05:01:21.000000000 -0500
+++ ./src/WINNT/afsapplib/ctl_date.cpp 2003-11-20 13:58:28.000000000 -0500
@@ -324,6 +332,9 @@
case 0: cx = cxMonth; id = pdi->idMonth; break;
case 1: cx = cxDay; id = pdi->idDay; break;
case 2: cx = cxYear; id = pdi->idYear; break;
+ default:
+ /* keep lint happy */
+ break;
}
hWnd = CreateWindow (
--- ./src/WINNT/afsapplib/ctl_date.cpp.~1~ 2000-11-04 05:01:21.000000000 -0500
+++ ./src/WINNT/afsapplib/ctl_date.cpp 2003-11-20 13:58:28.000000000 -0500
@@ -342,6 +353,9 @@
case 0: pdi->hMonth = hWnd; iiFirst = pdi->dateNow.wMonth; break;
case 1: pdi->hDay = hWnd; iiFirst = pdi->dateNow.wDay; break;
case 2: pdi->hYear = hWnd; iiFirst = pdi->dateNow.wYear; break;
+ default:
+ /* keep lint happy */
+ break;
}
pdi->hFirst = hWnd;
--- ./src/WINNT/afsapplib/ctl_date.cpp.~1~ 2000-11-04 05:01:21.000000000 -0500
+++ ./src/WINNT/afsapplib/ctl_date.cpp 2003-11-20 13:58:28.000000000 -0500
@@ -365,6 +379,9 @@
case 0: cx = cxDay; id = pdi->idDay; break;
case 1: cx = cxMonth; id = pdi->idMonth; break;
case 2: cx = cxMonth; id = pdi->idMonth; break;
+ default:
+ /* keep lint happy */
+ break;
}
hWnd = CreateWindow (
--- ./src/WINNT/afsapplib/ctl_date.cpp.~1~ 2000-11-04 05:01:21.000000000 -0500
+++ ./src/WINNT/afsapplib/ctl_date.cpp 2003-11-20 13:58:28.000000000 -0500
@@ -383,6 +400,9 @@
case 0: pdi->hDay = hWnd; break;
case 1: pdi->hMonth = hWnd; break;
case 2: pdi->hMonth = hWnd; break;
+ default:
+ /* keep lint happy */
+ break;
}
// Create a separator
--- ./src/WINNT/afsapplib/ctl_date.cpp.~1~ 2000-11-04 05:01:21.000000000 -0500
+++ ./src/WINNT/afsapplib/ctl_date.cpp 2003-11-20 13:58:28.000000000 -0500
@@ -405,6 +425,9 @@
case 0: cx = cxYear; id = pdi->idYear; break;
case 1: cx = cxYear; id = pdi->idYear; break;
case 2: cx = cxDay; id = pdi->idDay; break;
+ default:
+ /* keep lint happy */
+ break;
}
hWnd = CreateWindow (
--- ./src/WINNT/afsapplib/ctl_date.cpp.~1~ 2000-11-04 05:01:21.000000000 -0500
+++ ./src/WINNT/afsapplib/ctl_date.cpp 2003-11-20 13:58:28.000000000 -0500
@@ -423,6 +446,9 @@
case 0: pdi->hYear = hWnd; break;
case 1: pdi->hYear = hWnd; break;
case 2: pdi->hDay = hWnd; break;
+ default:
+ /* keep lint happy */
+ break;
}
// Subclass the edit controls
--- ./src/WINNT/afsapplib/ctl_date.cpp.~1~ 2000-11-04 05:01:21.000000000 -0500
+++ ./src/WINNT/afsapplib/ctl_date.cpp 2003-11-20 13:58:28.000000000 -0500
@@ -578,6 +604,10 @@
}
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
if (oldProc)
--- ./src/WINNT/afsapplib/ctl_date.cpp.~1~ 2000-11-04 05:01:21.000000000 -0500
+++ ./src/WINNT/afsapplib/ctl_date.cpp 2003-11-20 13:58:28.000000000 -0500
@@ -612,6 +642,9 @@
case WM_SETFOCUS:
Date_Edit_OnSetFocus (pdi, hEdit);
break;
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afsapplib/ctl_elapsed.cpp.~1~ 2000-11-04 05:01:21.000000000 -0500
+++ ./src/WINNT/afsapplib/ctl_elapsed.cpp 2003-11-20 13:58:41.000000000 -0500
@@ -256,6 +256,10 @@
case VK_END:
PostMessage (GetParent(pei->hSpinner), WM_VSCROLL, SB_BOTTOM, (LPARAM)pei->hSpinner);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afsapplib/ctl_elapsed.cpp.~1~ 2000-11-04 05:01:21.000000000 -0500
+++ ./src/WINNT/afsapplib/ctl_elapsed.cpp 2003-11-20 13:58:41.000000000 -0500
@@ -270,6 +274,10 @@
case ELM_SETTIME:
return Elapsed_OnSetTime (pei, wp, lp);
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afsapplib/ctl_elapsed.cpp.~1~ 2000-11-04 05:01:21.000000000 -0500
+++ ./src/WINNT/afsapplib/ctl_elapsed.cpp 2003-11-20 13:58:41.000000000 -0500
@@ -536,6 +544,10 @@
}
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
if (oldProc)
--- ./src/WINNT/afsapplib/ctl_elapsed.cpp.~1~ 2000-11-04 05:01:21.000000000 -0500
+++ ./src/WINNT/afsapplib/ctl_elapsed.cpp 2003-11-20 13:58:41.000000000 -0500
@@ -570,6 +582,9 @@
case WM_SETFOCUS:
Elapsed_Edit_OnSetFocus (pei, hEdit);
break;
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afsapplib/ctl_sockaddr.cpp.~1~ 2000-11-04 05:01:21.000000000 -0500
+++ ./src/WINNT/afsapplib/ctl_sockaddr.cpp 2003-11-20 13:58:49.000000000 -0500
@@ -232,6 +232,10 @@
case SAM_SETADDR:
return SockAddr_OnSetAddr (psai, wp, lp);
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afsapplib/ctl_sockaddr.cpp.~1~ 2000-11-04 05:01:21.000000000 -0500
+++ ./src/WINNT/afsapplib/ctl_sockaddr.cpp 2003-11-20 13:58:49.000000000 -0500
@@ -506,6 +510,10 @@
}
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
if (oldProc)
--- ./src/WINNT/afsapplib/ctl_sockaddr.cpp.~1~ 2000-11-04 05:01:21.000000000 -0500
+++ ./src/WINNT/afsapplib/ctl_sockaddr.cpp 2003-11-20 13:58:49.000000000 -0500
@@ -550,6 +558,10 @@
return FALSE;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afsapplib/ctl_spinner.cpp.~1~ 2000-11-04 05:01:21.000000000 -0500
+++ ./src/WINNT/afsapplib/ctl_spinner.cpp 2003-11-20 13:59:41.000000000 -0500
@@ -314,8 +314,16 @@
case VK_END:
PostMessage (GetParent(psi->hSpinner), WM_VSCROLL, SB_BOTTOM, (LPARAM)psi->hSpinner);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afsapplib/ctl_spinner.cpp.~1~ 2000-11-04 05:01:21.000000000 -0500
+++ ./src/WINNT/afsapplib/ctl_spinner.cpp 2003-11-20 13:59:41.000000000 -0500
@@ -409,9 +417,17 @@
PostMessage (GetParent(psi->hSpinner), WM_NEXTDLGCTL, (WPARAM)psi->hBuddy, TRUE);
break;
}
+
+ default:
+ /* keep lint happy */
+ break;
}
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
if (oldProc == 0)
--- ./src/WINNT/afsapplib/ctl_spinner.cpp.~1~ 2000-11-04 05:01:21.000000000 -0500
+++ ./src/WINNT/afsapplib/ctl_spinner.cpp 2003-11-20 13:59:41.000000000 -0500
@@ -443,6 +459,9 @@
case VK_DOWN:
SendMessage (psi->hSpinner, msg, wp, lp);
return FALSE;
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afsapplib/ctl_spinner.cpp.~1~ 2000-11-04 05:01:21.000000000 -0500
+++ ./src/WINNT/afsapplib/ctl_spinner.cpp 2003-11-20 13:59:41.000000000 -0500
@@ -496,6 +515,10 @@
case SPM_SETBUDDY:
return Spinner_OnSetBuddy (psi, wp, lp);
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afsapplib/ctl_time.cpp.~1~ 2000-11-04 05:01:22.000000000 -0500
+++ ./src/WINNT/afsapplib/ctl_time.cpp 2003-11-20 13:59:54.000000000 -0500
@@ -259,6 +259,10 @@
case VK_END:
PostMessage (GetParent(pti->hSpinner), WM_VSCROLL, SB_BOTTOM, (LPARAM)pti->hSpinner);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afsapplib/ctl_time.cpp.~1~ 2000-11-04 05:01:22.000000000 -0500
+++ ./src/WINNT/afsapplib/ctl_time.cpp 2003-11-20 13:59:54.000000000 -0500
@@ -267,6 +271,10 @@
case TM_SETTIME:
return Time_OnSetTime (pti, wp, lp);
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afsapplib/ctl_time.cpp.~1~ 2000-11-04 05:01:22.000000000 -0500
+++ ./src/WINNT/afsapplib/ctl_time.cpp 2003-11-20 13:59:54.000000000 -0500
@@ -602,6 +610,10 @@
}
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
if (oldProc)
--- ./src/WINNT/afsapplib/ctl_time.cpp.~1~ 2000-11-04 05:01:22.000000000 -0500
+++ ./src/WINNT/afsapplib/ctl_time.cpp 2003-11-20 13:59:54.000000000 -0500
@@ -636,6 +648,9 @@
case WM_SETFOCUS:
Time_Edit_OnSetFocus (pti, hEdit);
break;
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afsapplib/dialog.cpp.~1~ 2002-08-06 14:21:56.000000000 -0400
+++ ./src/WINNT/afsapplib/dialog.cpp 2003-11-20 15:25:09.000000000 -0500
@@ -111,8 +111,15 @@
case PSN_RESET:
FORWARD_WM_COMMAND (hDlg, IDCANCEL, 0, 0, SendMessage);
return TRUE;
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsapplib/dialog.cpp.~1~ 2002-08-06 14:21:56.000000000 -0400
+++ ./src/WINNT/afsapplib/dialog.cpp 2003-11-20 15:25:09.000000000 -0500
@@ -185,6 +192,10 @@
aPropSheets[ ii ].fInUse = FALSE;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return rc;
--- ./src/WINNT/afsapplib/dialog.cpp.~1~ 2002-08-06 14:21:56.000000000 -0400
+++ ./src/WINNT/afsapplib/dialog.cpp 2003-11-20 15:25:09.000000000 -0500
@@ -338,6 +349,10 @@
Subclass_RemoveHook (hSheet, PropSheet_HookProc);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return rc;
--- ./src/WINNT/afsapplib/dialog.cpp.~1~ 2002-08-06 14:21:56.000000000 -0400
+++ ./src/WINNT/afsapplib/dialog.cpp 2003-11-20 15:25:09.000000000 -0500
@@ -1572,6 +1587,10 @@
SendMessage (hList, LB_SETHORIZONTALEXTENT, (WPARAM)cxStringMax, 0);
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
if (oldProc)
--- ./src/WINNT/afsapplib/fastlist.cpp.~1~ 2000-11-06 10:49:00.000000000 -0500
+++ ./src/WINNT/afsapplib/fastlist.cpp 2003-11-20 14:01:02.000000000 -0500
@@ -526,6 +526,10 @@
case HDN_TRACK:
FastList_UpdateColumn (GetFastList (hList), ((HD_NOTIFY*)lp)->iItem);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afsapplib/fastlist.cpp.~1~ 2000-11-06 10:49:00.000000000 -0500
+++ ./src/WINNT/afsapplib/fastlist.cpp 2003-11-20 14:01:02.000000000 -0500
@@ -675,6 +679,10 @@
case FLM_SETTEXTCALLBACK:
FastList_OnCommand_SetTextCallback (hList, (LPFASTLISTTEXTCALLBACK)wp, (DWORD)lp);
return TRUE;
+
+ default:
+ /* keep lint happy */
+ break;
}
return DefWindowProc (hList, msg, wp, lp);
--- ./src/WINNT/afsapplib/fastlist.cpp.~1~ 2000-11-06 10:49:00.000000000 -0500
+++ ./src/WINNT/afsapplib/fastlist.cpp 2003-11-20 14:01:02.000000000 -0500
@@ -712,9 +720,17 @@
FastList_SetSortStyle (pfl->hList, pp->icol, FALSE);
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return CallWindowProc ((WNDPROC)oldProc, hDlg, msg, wp, lp);
--- ./src/WINNT/afsapplib/fastlist.cpp.~1~ 2000-11-06 10:49:00.000000000 -0500
+++ ./src/WINNT/afsapplib/fastlist.cpp 2003-11-20 14:01:02.000000000 -0500
@@ -987,6 +1003,10 @@
}
break;
}
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afsapplib/fastlist.cpp.~1~ 2000-11-06 10:49:00.000000000 -0500
+++ ./src/WINNT/afsapplib/fastlist.cpp 2003-11-20 14:01:02.000000000 -0500
@@ -1033,6 +1053,10 @@
case FLS_VIEW_TREELIST:
FastList_OnPaintItem_List (pfl, pdi);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
UnionRect (&pdi->reg.rSelect, &pdi->reg.rHighlight, &pdi->reg.rImage);
--- ./src/WINNT/afsapplib/fastlist.cpp.~1~ 2000-11-06 10:49:00.000000000 -0500
+++ ./src/WINNT/afsapplib/fastlist.cpp 2003-11-20 14:01:02.000000000 -0500
@@ -1639,6 +1663,10 @@
posNew = si.nTrackPos;
fRepaint = FALSE;
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
posNew = limit( 0, posNew, (LONG)(si.nMax - si.nPage) );
--- ./src/WINNT/afsapplib/fastlist.cpp.~1~ 2000-11-06 10:49:00.000000000 -0500
+++ ./src/WINNT/afsapplib/fastlist.cpp 2003-11-20 14:01:02.000000000 -0500
@@ -1753,6 +1781,10 @@
FastList_OnKeyPress_ChangeSelection (pfl, pfl->hFocused);
FastList_End (pfl->hList);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
}
--- ./src/WINNT/afsapplib/fastlist.cpp.~1~ 2000-11-06 10:49:00.000000000 -0500
+++ ./src/WINNT/afsapplib/fastlist.cpp 2003-11-20 14:01:02.000000000 -0500
@@ -1804,6 +1836,10 @@
case FLS_VIEW_TREELIST:
indexTopLeft = pfl->dyPixel / cyRECT(rTemplate);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
if ((indexTopLeft >= 0) && (indexTopLeft < (int)pfl->cVisible))
--- ./src/WINNT/afsapplib/fastlist.cpp.~1~ 2000-11-06 10:49:00.000000000 -0500
+++ ./src/WINNT/afsapplib/fastlist.cpp 2003-11-20 14:01:02.000000000 -0500
@@ -2471,6 +2507,10 @@
case FLM_FINDLIST_NEXT:
return (hItem) ? (hItem->hListNext) : (pfl->hListFirst);
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afsapplib/fastlist.cpp.~1~ 2000-11-06 10:49:00.000000000 -0500
+++ ./src/WINNT/afsapplib/fastlist.cpp 2003-11-20 14:01:02.000000000 -0500
@@ -2496,6 +2536,10 @@
case FLM_FINDTREE_NEXT:
return (hItem) ? (hItem->hTreeNext) : NULL;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afsapplib/fastlist.cpp.~1~ 2000-11-06 10:49:00.000000000 -0500
+++ ./src/WINNT/afsapplib/fastlist.cpp 2003-11-20 14:01:02.000000000 -0500
@@ -2572,6 +2616,10 @@
if (hItem->index == (int)(pfl->cVisible-1))
return NULL;
return pfl->aVisibleHeap[ hItem->index +1 ];
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afsapplib/fastlist.cpp.~1~ 2000-11-06 10:49:00.000000000 -0500
+++ ./src/WINNT/afsapplib/fastlist.cpp 2003-11-20 14:01:02.000000000 -0500
@@ -2660,6 +2708,10 @@
case FLS_VIEW_TREELIST:
index = (yField - rClient.top) / cyRECT(rTemplate);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
if ((index >= 0) && (index < (int)pfl->cVisible))
--- ./src/WINNT/afsapplib/fastlist.cpp.~1~ 2000-11-06 10:49:00.000000000 -0500
+++ ./src/WINNT/afsapplib/fastlist.cpp 2003-11-20 14:01:02.000000000 -0500
@@ -3372,6 +3424,10 @@
cxArray = 1;
cyArray = pfl->cVisible;
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
*pcxField = cxArray * cxRECT(rItem);
--- ./src/WINNT/afsapplib/fastlist.cpp.~1~ 2000-11-06 10:49:00.000000000 -0500
+++ ./src/WINNT/afsapplib/fastlist.cpp 2003-11-20 14:01:02.000000000 -0500
@@ -3461,6 +3517,10 @@
prItem->bottom = prItem->top + cyRect;
break;
}
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afsapplib/resize.cpp.~1~ 2000-11-04 05:01:24.000000000 -0500
+++ ./src/WINNT/afsapplib/resize.cpp 2003-11-20 14:01:09.000000000 -0500
@@ -647,6 +647,10 @@
}
break;
#endif
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afsapplib/resize.cpp.~1~ 2000-11-04 05:01:24.000000000 -0500
+++ ./src/WINNT/afsapplib/resize.cpp 2003-11-20 14:01:09.000000000 -0500
@@ -922,6 +926,10 @@
case WM_DESTROY:
rwFindAndRemoveWnd (hWnd);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return (fnNext) ? CallWindowProc ((WNDPROC)fnNext, hWnd, msg, wp, lp) : FALSE;
--- ./src/WINNT/afsclass/c_set.cpp.~1~ 2000-11-04 05:01:32.000000000 -0500
+++ ./src/WINNT/afsclass/c_set.cpp 2003-11-20 16:09:19.000000000 -0500
@@ -456,6 +456,12 @@
case VOS_MOVED:
m_fs.State |= fsMOVED;
break;
+ case VOS_OK:
+ case VOS_VOL_EXISTS:
+ case VOS_ONLINE:
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afsclass/worker.cpp.~1~ 2000-11-06 10:49:06.000000000 -0500
+++ ./src/WINNT/afsclass/worker.cpp 2003-11-20 16:10:11.000000000 -0500
@@ -2002,6 +1998,11 @@
break;
}
+ case wtaskBosAuxiliaryProcessStatusDeallocate:
+ default:
+ /* keep lint happy */
+ break;
+
// ADD HERE
}
--- ./src/WINNT/afsd/afsd_service.c.~1~ 2003-08-25 14:24:22.000000000 -0400
+++ ./src/WINNT/afsd/afsd_service.c 2003-11-20 14:40:16.000000000 -0500
@@ -134,6 +132,10 @@
break;
/* XXX handle system shutdown */
/* XXX handle pause & continue */
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afsd/fs.c.~1~ 2001-11-10 17:31:09.000000000 -0500
+++ ./src/WINNT/afsd/fs.c 2003-11-20 14:24:25.000000000 -0500
@@ -934,6 +933,9 @@
case 3:
printf("DFS initial file access list of %s is\n", ti->data);
break;
+ default:
+ /* keep lint happy */
+ break;
}
if (ta->dfs) {
printf(" Default cell = %s\n", ta->cell);
--- ./src/WINNT/afsd/smb3.c.~1~ 2003-07-10 22:12:46.000000000 -0400
+++ ./src/WINNT/afsd/smb3.c 2003-11-20 14:14:12.000000000 -0500
@@ -983,6 +981,10 @@
qi.u.FSattributeInfo.FSnameLength = 6;
memcpy(qi.u.FSattributeInfo.FSname, FSname, 6);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
/* copy out return data, and set corresponding sizes */
--- ./src/WINNT/afssvrcfg/admin_info_dlg.cpp.~1~ 2000-11-04 05:01:49.000000000 -0500
+++ ./src/WINNT/afssvrcfg/admin_info_dlg.cpp 2003-11-20 14:10:28.000000000 -0500
@@ -89,8 +89,16 @@
SaveDlgInfo();
EndDialog(hDlg, IDOK);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrcfg/afscfg.cpp.~1~ 2001-09-19 19:18:54.000000000 -0400
+++ ./src/WINNT/afssvrcfg/afscfg.cpp 2003-11-20 14:11:56.000000000 -0500
@@ -217,8 +217,16 @@
case IDCANCEL:
QueryCancelWiz();
return TRUE;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrcfg/backup_server_page.cpp.~1~ 2000-11-04 05:01:50.000000000 -0500
+++ ./src/WINNT/afssvrcfg/backup_server_page.cpp 2003-11-20 14:12:03.000000000 -0500
@@ -73,9 +73,16 @@
case IDC_CONFIG_BACKUP_SERVER:
g_CfgData.configBak = CS_CONFIGURE;
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrcfg/config_server_page.cpp.~1~ 2000-11-04 05:01:50.000000000 -0500
+++ ./src/WINNT/afssvrcfg/config_server_page.cpp 2003-11-20 14:12:15.000000000 -0500
@@ -458,8 +455,16 @@
} else if (!g_pWiz)
EndDialog(m_hDlg, m_bConfigured);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
if (g_pWiz) {
--- ./src/WINNT/afssvrcfg/create_partition_dlg.cpp.~1~ 2000-11-04 05:01:51.000000000 -0500
+++ ./src/WINNT/afssvrcfg/create_partition_dlg.cpp 2003-11-20 15:50:34.000000000 -0500
@@ -109,6 +109,10 @@
SetFocus((HWND)lParam);
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afssvrcfg/create_partition_dlg.cpp.~1~ 2000-11-04 05:01:51.000000000 -0500
+++ ./src/WINNT/afssvrcfg/create_partition_dlg.cpp 2003-11-20 15:50:34.000000000 -0500
@@ -124,6 +128,10 @@
ResizeWindow(hwndDlg, arwDialog, rwaFixupGuts);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrcfg/db_server_page.cpp.~1~ 2000-11-04 05:01:51.000000000 -0500
+++ ./src/WINNT/afssvrcfg/db_server_page.cpp 2003-11-20 14:12:26.000000000 -0500
@@ -78,9 +78,16 @@
g_CfgData.configDB = CS_CONFIGURE;
EnableSCM(ES_ENABLE);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrcfg/file_server_page.cpp.~1~ 2000-11-04 05:01:51.000000000 -0500
+++ ./src/WINNT/afssvrcfg/file_server_page.cpp 2003-11-20 14:11:01.000000000 -0500
@@ -71,9 +71,17 @@
case IDC_SHOULD_CONFIG_FILE_SERVER:
g_CfgData.configFS = CS_CONFIGURE;
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrcfg/get_cur_config.cpp.~1~ 2000-11-04 05:01:51.000000000 -0500
+++ ./src/WINNT/afssvrcfg/get_cur_config.cpp 2003-11-20 14:12:34.000000000 -0500
@@ -106,8 +105,16 @@
ShowMsg(IDS_CANCEL_GET_CONFIG);
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrcfg/get_pw_dlg.cpp.~1~ 2000-11-04 05:01:51.000000000 -0500
+++ ./src/WINNT/afssvrcfg/get_pw_dlg.cpp 2003-11-20 14:13:25.000000000 -0500
@@ -88,8 +88,16 @@
SaveDlgInfo();
EndDialog(hDlg, IDOK);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrcfg/info2_page.cpp.~1~ 2000-11-04 05:01:52.000000000 -0500
+++ ./src/WINNT/afssvrcfg/info2_page.cpp 2003-11-20 14:12:41.000000000 -0500
@@ -107,8 +107,15 @@
CheckEnableButtons();
break;
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrcfg/info_page.cpp.~1~ 2000-11-04 05:01:52.000000000 -0500
+++ ./src/WINNT/afssvrcfg/info_page.cpp 2003-11-20 14:11:05.000000000 -0500
@@ -84,8 +84,16 @@
CheckEnableButtons();
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrcfg/intro_page.cpp.~1~ 2000-11-04 05:01:52.000000000 -0500
+++ ./src/WINNT/afssvrcfg/intro_page.cpp 2003-11-20 14:11:10.000000000 -0500
@@ -59,8 +59,16 @@
case IDNEXT:
g_pWiz->SetState(sidSTEP_TWO);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrcfg/partition_page.cpp.~1~ 2000-11-04 05:01:52.000000000 -0500
+++ ./src/WINNT/afssvrcfg/partition_page.cpp 2003-11-20 14:11:28.000000000 -0500
@@ -123,15 +123,27 @@
SetFocus((HWND)lp);
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
case WM_NOTIFY:
switch (((LPNMHDR)lp)->code) {
case FLN_ITEMSELECT: OnListSelection((LPFLN_ITEMSELECT_PARAMS)lp);
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrcfg/partitions_page.cpp.~1~ 2000-11-04 05:01:53.000000000 -0500
+++ ./src/WINNT/afssvrcfg/partitions_page.cpp 2003-11-20 14:11:19.000000000 -0500
@@ -103,12 +102,20 @@
case IDC_SALVAGE: OnSalvage();
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
case WM_NOTIFY: if ((((LPNMHDR)lParam)->code) == FLN_ITEMSELECT)
OnListSelection((LPFLN_ITEMSELECT_PARAMS)lParam);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrcfg/replicatition_page.cpp.~1~ 2000-11-04 05:01:53.000000000 -0500
+++ ./src/WINNT/afssvrcfg/replicatition_page.cpp 2003-11-20 14:11:40.000000000 -0500
@@ -71,9 +71,16 @@
case IDC_REPLICATE:
g_CfgData.configRep = CS_CONFIGURE;
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrcfg/root_afs_page.cpp.~1~ 2000-11-04 05:01:53.000000000 -0500
+++ ./src/WINNT/afssvrcfg/root_afs_page.cpp 2003-11-20 14:12:47.000000000 -0500
@@ -71,9 +71,16 @@
case IDC_CREATE_ROOT_VOLUMES:
g_CfgData.configRootVolumes = CS_CONFIGURE;
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrcfg/salvage_dlg.cpp.~1~ 2000-11-04 05:01:53.000000000 -0500
+++ ./src/WINNT/afssvrcfg/salvage_dlg.cpp 2003-11-20 14:13:06.000000000 -0500
@@ -125,8 +124,16 @@
if (OnSalvage())
EndDialog(hDlg, IDOK);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrcfg/salvage_results_dlg.cpp.~1~ 2000-11-04 05:01:54.000000000 -0500
+++ ./src/WINNT/afssvrcfg/salvage_results_dlg.cpp 2003-11-20 15:51:16.000000000 -0500
@@ -99,6 +99,11 @@
case IDCANCEL:
if (bSalvageComplete)
OnClose();
+ break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afssvrcfg/salvage_results_dlg.cpp.~1~ 2000-11-04 05:01:54.000000000 -0500
+++ ./src/WINNT/afssvrcfg/salvage_results_dlg.cpp 2003-11-20 15:51:16.000000000 -0500
@@ -106,6 +111,10 @@
if (lp != 0)
ResizeWindow(hwndDlg, arwDialog, rwaFixupGuts);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrcfg/services_page.cpp.~1~ 2000-11-04 05:01:54.000000000 -0500
+++ ./src/WINNT/afssvrcfg/services_page.cpp 2003-11-20 14:11:50.000000000 -0500
@@ -116,8 +116,16 @@
case IDAPPLY: PrepareToConfig();
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
CheckEnableApply();
--- ./src/WINNT/afssvrcfg/services_page.cpp.~1~ 2000-11-04 05:01:54.000000000 -0500
+++ ./src/WINNT/afssvrcfg/services_page.cpp 2003-11-20 14:11:50.000000000 -0500
@@ -274,6 +282,10 @@
case BST_INDETERMINATE:
SetWndText(hDlg, IDC_DB_ACTION_MSG, IDS_DB_DETAILS);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
// For the ones below, in addition to setting the action message, we also
--- ./src/WINNT/afssvrcfg/sys_control_page.cpp.~1~ 2000-11-04 05:01:54.000000000 -0500
+++ ./src/WINNT/afssvrcfg/sys_control_page.cpp 2003-11-20 14:12:55.000000000 -0500
@@ -91,9 +91,16 @@
if (HIWORD(wp) == EN_CHANGE)
CheckEnableNextButton();
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/action.cpp.~1~ 2000-11-04 05:02:00.000000000 -0500
+++ ./src/WINNT/afssvrmgr/action.cpp 2003-11-19 14:35:37.000000000 -0500
@@ -445,8 +497,14 @@
case IDCANCEL:
DestroyWindow (hDlg);
break;
+ default:
+ /* keep lint happy */
+ break;
}
break;
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/action.cpp.~1~ 2000-11-04 05:02:00.000000000 -0500
+++ ./src/WINNT/afssvrmgr/action.cpp 2003-11-19 14:35:37.000000000 -0500
@@ -740,6 +798,11 @@
case atOPENCELL:
pszDesc = FormatString (IDS_ACTION_OPENCELL, TEXT("%s"), l.aActions[ ii ]->Params.sz1);
break;
+
+ case atUNUSED:
+ case atTIMEOUT:
+ /* keep lint happy */
+ break;
}
return pszDesc;
--- ./src/WINNT/afssvrmgr/action.cpp.~1~ 2000-11-04 05:02:00.000000000 -0500
+++ ./src/WINNT/afssvrmgr/action.cpp 2003-11-19 14:35:37.000000000 -0500
@@ -1358,8 +1454,16 @@
case IDC_REFRESH_SKIP:
Action_Refresh_SkipSection (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/action.cpp.~1~ 2000-11-04 05:02:00.000000000 -0500
+++ ./src/WINNT/afssvrmgr/action.cpp 2003-11-19 14:35:37.000000000 -0500
@@ -1520,8 +1624,14 @@
case IDCANCEL:
DestroyWindow (hDlg);
break;
+ default:
+ /* keep lint happy */
+ break;
}
break;
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/action.cpp.~1~ 2000-11-04 05:02:00.000000000 -0500
+++ ./src/WINNT/afssvrmgr/action.cpp 2003-11-19 14:35:37.000000000 -0500
@@ -1595,8 +1705,14 @@
case IDCANCEL:
DestroyWindow (hDlg);
break;
+ default:
+ /* keep lint happy */
+ break;
}
break;
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/action.cpp.~1~ 2000-11-04 05:02:00.000000000 -0500
+++ ./src/WINNT/afssvrmgr/action.cpp 2003-11-19 14:35:37.000000000 -0500
@@ -1663,8 +1779,14 @@
case IDCANCEL:
DestroyWindow (hDlg);
break;
+ default:
+ /* keep lint happy */
+ break;
}
break;
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/action.cpp.~1~ 2000-11-04 05:02:00.000000000 -0500
+++ ./src/WINNT/afssvrmgr/action.cpp 2003-11-19 14:35:37.000000000 -0500
@@ -1734,8 +1854,14 @@
case IDCANCEL:
DestroyWindow (hDlg);
break;
+ default:
+ /* keep lint happy */
+ break;
}
break;
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/agg_prop.cpp.~1~ 2000-11-04 05:02:01.000000000 -0500
+++ ./src/WINNT/afssvrmgr/agg_prop.cpp 2003-11-19 14:48:22.000000000 -0500
@@ -152,8 +152,16 @@
case IDC_AGG_WARN_AGGFULL_PERCENT:
PropSheetChanged (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/agg_tab.cpp.~1~ 2000-11-04 05:02:01.000000000 -0500
+++ ./src/WINNT/afssvrmgr/agg_tab.cpp 2003-11-19 15:01:36.000000000 -0500
@@ -142,6 +142,9 @@
return TRUE;
}
break;
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afssvrmgr/agg_tab.cpp.~1~ 2000-11-04 05:02:01.000000000 -0500
+++ ./src/WINNT/afssvrmgr/agg_tab.cpp 2003-11-19 15:01:36.000000000 -0500
@@ -166,8 +169,15 @@
case IDC_AGG_CREATESET:
SendMessage (GetDlgItem (hDlg, IDC_AGG_LIST), WM_COMMAND, M_SET_CREATE, 0);
break;
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/agg_tab.cpp.~1~ 2000-11-04 05:02:01.000000000 -0500
+++ ./src/WINNT/afssvrmgr/agg_tab.cpp 2003-11-19 15:01:36.000000000 -0500
@@ -184,6 +194,128 @@
case evtDestroy:
UpdateDisplay_Aggregates (FALSE, GetDlgItem (lpns->hwndTarget, IDC_AGG_LIST), lpns->Params.lpi1, lpns->Params.status, NULL, NULL, NULL);
break;
+ case evtCreate:
+ case evtInvalidate:
+ case evtRefreshStatusBegin:
+ case evtRefreshServersBegin:
+ case evtRefreshServersEnd:
+ case evtRefreshServicesBegin:
+ case evtRefreshServicesEnd:
+ case evtRefreshAggregatesBegin:
+ case evtRefreshFilesetsBegin:
+ case evtRefreshFilesetsEnd:
+ case evtRefreshUsersBegin:
+ case evtRefreshUsersEnd:
+ case evtRefreshAllBegin:
+ case evtRefreshAllUpdate:
+ case evtRefreshAllSectionStart:
+ case evtRefreshAllSectionEnd:
+ case evtRefreshAllEnd:
+ case evtOpenCellBegin:
+ case evtOpenCellEnd:
+ case evtSyncVLDBBegin:
+ case evtSyncVLDBEnd:
+ case evtGetServerLogFileBegin:
+ case evtGetServerLogFileEnd:
+ case evtInstallFileBegin:
+ case evtInstallFileEnd:
+ case evtUninstallFileBegin:
+ case evtUninstallFileEnd:
+ case evtGetFileDatesBegin:
+ case evtGetFileDatesEnd:
+ case evtPruneFilesBegin:
+ case evtPruneFilesEnd:
+ case evtSetServerAuthBegin:
+ case evtSetServerAuthEnd:
+ case evtGetRestartTimesBegin:
+ case evtGetRestartTimesEnd:
+ case evtSetRestartTimesBegin:
+ case evtSetRestartTimesEnd:
+ case evtChangeAddressBegin:
+ case evtChangeAddressEnd:
+ case evtAdminListLoadBegin:
+ case evtAdminListLoadEnd:
+ case evtAdminListSaveBegin:
+ case evtAdminListSaveEnd:
+ case evtKeyListLoadBegin:
+ case evtKeyListLoadEnd:
+ case evtHostListLoadBegin:
+ case evtHostListLoadEnd:
+ case evtHostListSaveBegin:
+ case evtHostListSaveEnd:
+ case evtCreateServiceBegin:
+ case evtCreateServiceEnd:
+ case evtDeleteServiceBegin:
+ case evtDeleteServiceEnd:
+ case evtStartServiceBegin:
+ case evtStartServiceEnd:
+ case evtStopServiceBegin:
+ case evtStopServiceEnd:
+ case evtRestartServiceBegin:
+ case evtRestartServiceEnd:
+ case evtCreateFilesetBegin:
+ case evtCreateFilesetEnd:
+ case evtMoveFilesetBegin:
+ case evtMoveFilesetEnd:
+ case evtCreateReplicaBegin:
+ case evtCreateReplicaEnd:
+ case evtRenameFilesetBegin:
+ case evtRenameFilesetEnd:
+ case evtCloneMultipleBegin:
+ case evtCloneMultipleEnd:
+ case evtDumpFilesetBegin:
+ case evtDumpFilesetEnd:
+ case evtRestoreFilesetBegin:
+ case evtRestoreFilesetEnd:
+ case evtDeleteFilesetBegin:
+ case evtDeleteFilesetEnd:
+ case evtSetFilesetQuotaBegin:
+ case evtSetFilesetQuotaEnd:
+ case evtLockFilesetBegin:
+ case evtLockFilesetEnd:
+ case evtUnlockFilesetBegin:
+ case evtUnlockFilesetEnd:
+ case evtUnlockAllFilesetsBegin:
+ case evtUnlockAllFilesetsEnd:
+ case evtSetFilesetRepParamsBegin:
+ case evtSetFilesetRepParamsEnd:
+ case evtReleaseFilesetBegin:
+ case evtReleaseFilesetEnd:
+ case evtCloneBegin:
+ case evtCloneEnd:
+ case evtSetFilesetOwnerGroupBegin:
+ case evtSetFilesetOwnerGroupEnd:
+ case evtSetFilesetPermissionsBegin:
+ case evtSetFilesetPermissionsEnd:
+ case evtExecuteCommandBegin:
+ case evtExecuteCommandEnd:
+ case evtSalvageBegin:
+ case evtSalvageEnd:
+ case evtCreateUserBegin:
+ case evtCreateUserEnd:
+ case evtChangeUserBegin:
+ case evtChangeUserEnd:
+ case evtChangeUserPasswordBegin:
+ case evtChangeUserPasswordEnd:
+ case evtDeleteUserBegin:
+ case evtDeleteUserEnd:
+ case evtUnlockUserBegin:
+ case evtUnlockUserEnd:
+ case evtCreateGroupBegin:
+ case evtCreateGroupEnd:
+ case evtChangeGroupBegin:
+ case evtChangeGroupEnd:
+ case evtRenameGroupBegin:
+ case evtRenameGroupEnd:
+ case evtDeleteGroupBegin:
+ case evtDeleteGroupEnd:
+ case evtGroupMemberAddBegin:
+ case evtGroupMemberAddEnd:
+ case evtGroupMemberRemoveBegin:
+ case evtGroupMemberRemoveEnd:
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/agg_tab.cpp.~1~ 2000-11-04 05:02:01.000000000 -0500
+++ ./src/WINNT/afssvrmgr/agg_tab.cpp 2003-11-19 15:01:36.000000000 -0500
@@ -212,6 +344,10 @@
Aggregates_GetFocused (GetParent(hList)),
LOWORD(wp));
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return rc;
--- ./src/WINNT/afssvrmgr/alert.cpp.~1~ 2000-11-04 05:02:02.000000000 -0500
+++ ./src/WINNT/afssvrmgr/alert.cpp 2003-11-19 15:12:58.000000000 -0500
@@ -616,6 +616,11 @@
lpiPrimary->GetAggregateName (szAggregate);
lpiPrimary->GetFilesetName (szFileset);
return FormatString (ids, TEXT("%s%s%s%08lX"), szServer, szAggregate, szFileset, lpoa->aAlerts[ iAlertPrimary ].aiSTATE.State);
+
+ case alertINVALID:
+ case alertSECONDARY:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/alert.cpp.~1~ 2000-11-04 05:02:02.000000000 -0500
+++ ./src/WINNT/afssvrmgr/alert.cpp 2003-11-19 15:12:58.000000000 -0500
@@ -658,6 +664,10 @@
return FormatString (IDS_ALERT_FIX_STATE_NO_SERVICE);
case alertSTATE_OFFLINE:
return FormatString (IDS_ALERT_FIX_STATE_OFFLINE);
+ case alertINVALID:
+ case alertSECONDARY:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/alert.cpp.~1~ 2000-11-04 05:02:02.000000000 -0500
+++ ./src/WINNT/afssvrmgr/alert.cpp 2003-11-19 15:12:58.000000000 -0500
@@ -692,6 +702,10 @@
return NULL;
case alertSTATE_OFFLINE:
return NULL;
+ case alertINVALID:
+ case alertSECONDARY:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/columns.cpp.~1~ 2000-11-04 05:02:02.000000000 -0500
+++ ./src/WINNT/afssvrmgr/columns.cpp 2003-11-19 15:29:08.000000000 -0500
@@ -208,8 +208,16 @@
case IDC_COL_DOWN:
Columns_OnMoveDown (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/columns.cpp.~1~ 2000-11-04 05:02:02.000000000 -0500
+++ ./src/WINNT/afssvrmgr/columns.cpp 2003-11-19 15:29:08.000000000 -0500
@@ -497,6 +505,10 @@
case ceAGGS_RESTORE:
lpviTarget = &gr.viewAggRestore;
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
if (lpviTarget != NULL)
--- ./src/WINNT/afssvrmgr/command.cpp.~1~ 2000-11-04 05:02:03.000000000 -0500
+++ ./src/WINNT/afssvrmgr/command.cpp 2003-11-19 15:29:41.000000000 -0500
@@ -299,6 +299,10 @@
case M_ABOUT:
Help_About();
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/creds.cpp.~1~ 2000-11-04 05:02:03.000000000 -0500
+++ ./src/WINNT/afssvrmgr/creds.cpp 2003-11-19 15:33:50.000000000 -0500
@@ -324,6 +325,10 @@
case CBN_EDITCHANGE:
OpenCell_OnCellChange (hDlg, FALSE);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afssvrmgr/creds.cpp.~1~ 2000-11-04 05:02:03.000000000 -0500
+++ ./src/WINNT/afssvrmgr/creds.cpp 2003-11-19 15:33:50.000000000 -0500
@@ -336,8 +341,16 @@
case IDC_MON_SOME:
OpenCell_OnSubset (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/dispatch.cpp.~1~ 2000-11-04 05:02:03.000000000 -0500
+++ ./src/WINNT/afssvrmgr/dispatch.cpp 2003-11-19 16:16:17.000000000 -0500
@@ -270,6 +270,129 @@
if (pPref) Delete (pPref);
}
break;
+
+ case evtInvalidate:
+ case evtRefreshStatusBegin:
+ case evtRefreshServersBegin:
+ case evtRefreshServersEnd:
+ case evtRefreshServicesBegin:
+ case evtRefreshServicesEnd:
+ case evtRefreshAggregatesBegin:
+ case evtRefreshAggregatesEnd:
+ case evtRefreshFilesetsBegin:
+ case evtRefreshFilesetsEnd:
+ case evtRefreshUsersBegin:
+ case evtRefreshUsersEnd:
+ case evtRefreshAllBegin:
+ case evtRefreshAllUpdate:
+ case evtRefreshAllSectionStart:
+ case evtRefreshAllSectionEnd:
+ case evtRefreshAllEnd:
+ case evtOpenCellBegin:
+ case evtOpenCellEnd:
+ case evtSyncVLDBBegin:
+ case evtSyncVLDBEnd:
+ case evtGetServerLogFileBegin:
+ case evtGetServerLogFileEnd:
+ case evtInstallFileBegin:
+ case evtInstallFileEnd:
+ case evtUninstallFileBegin:
+ case evtUninstallFileEnd:
+ case evtGetFileDatesBegin:
+ case evtGetFileDatesEnd:
+ case evtPruneFilesBegin:
+ case evtPruneFilesEnd:
+ case evtSetServerAuthBegin:
+ case evtSetServerAuthEnd:
+ case evtGetRestartTimesBegin:
+ case evtGetRestartTimesEnd:
+ case evtSetRestartTimesBegin:
+ case evtSetRestartTimesEnd:
+ case evtChangeAddressBegin:
+ case evtChangeAddressEnd:
+ case evtAdminListLoadBegin:
+ case evtAdminListLoadEnd:
+ case evtAdminListSaveBegin:
+ case evtAdminListSaveEnd:
+ case evtKeyListLoadBegin:
+ case evtKeyListLoadEnd:
+ case evtHostListLoadBegin:
+ case evtHostListLoadEnd:
+ case evtHostListSaveBegin:
+ case evtHostListSaveEnd:
+ case evtCreateServiceBegin:
+ case evtCreateServiceEnd:
+ case evtDeleteServiceBegin:
+ case evtDeleteServiceEnd:
+ case evtStartServiceBegin:
+ case evtStartServiceEnd:
+ case evtStopServiceBegin:
+ case evtStopServiceEnd:
+ case evtRestartServiceBegin:
+ case evtRestartServiceEnd:
+ case evtCreateFilesetBegin:
+ case evtCreateFilesetEnd:
+ case evtMoveFilesetBegin:
+ case evtMoveFilesetEnd:
+ case evtCreateReplicaBegin:
+ case evtCreateReplicaEnd:
+ case evtRenameFilesetBegin:
+ case evtRenameFilesetEnd:
+ case evtCloneMultipleBegin:
+ case evtCloneMultipleEnd:
+ case evtDumpFilesetBegin:
+ case evtDumpFilesetEnd:
+ case evtRestoreFilesetBegin:
+ case evtRestoreFilesetEnd:
+ case evtDeleteFilesetBegin:
+ case evtDeleteFilesetEnd:
+ case evtSetFilesetQuotaBegin:
+ case evtSetFilesetQuotaEnd:
+ case evtLockFilesetBegin:
+ case evtLockFilesetEnd:
+ case evtUnlockFilesetBegin:
+ case evtUnlockFilesetEnd:
+ case evtUnlockAllFilesetsBegin:
+ case evtUnlockAllFilesetsEnd:
+ case evtSetFilesetRepParamsBegin:
+ case evtSetFilesetRepParamsEnd:
+ case evtReleaseFilesetBegin:
+ case evtReleaseFilesetEnd:
+ case evtCloneBegin:
+ case evtCloneEnd:
+ case evtSetFilesetOwnerGroupBegin:
+ case evtSetFilesetOwnerGroupEnd:
+ case evtSetFilesetPermissionsBegin:
+ case evtSetFilesetPermissionsEnd:
+ case evtExecuteCommandBegin:
+ case evtExecuteCommandEnd:
+ case evtSalvageBegin:
+ case evtSalvageEnd:
+ case evtCreateUserBegin:
+ case evtCreateUserEnd:
+ case evtChangeUserBegin:
+ case evtChangeUserEnd:
+ case evtChangeUserPasswordBegin:
+ case evtChangeUserPasswordEnd:
+ case evtDeleteUserBegin:
+ case evtDeleteUserEnd:
+ case evtUnlockUserBegin:
+ case evtUnlockUserEnd:
+ case evtCreateGroupBegin:
+ case evtCreateGroupEnd:
+ case evtChangeGroupBegin:
+ case evtChangeGroupEnd:
+ case evtRenameGroupBegin:
+ case evtRenameGroupEnd:
+ case evtDeleteGroupBegin:
+ case evtDeleteGroupEnd:
+ case evtGroupMemberAddBegin:
+ case evtGroupMemberAddEnd:
+ case evtGroupMemberRemoveBegin:
+ case evtGroupMemberRemoveEnd:
+ case evtUser:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/dispatch.cpp.~1~ 2000-11-04 05:02:03.000000000 -0500
+++ ./src/WINNT/afssvrmgr/dispatch.cpp 2003-11-19 16:16:17.000000000 -0500
@@ -353,6 +476,124 @@
}
}
break;
+
+ case evtRefreshServicesBegin:
+ case evtRefreshServicesEnd:
+ case evtRefreshAggregatesBegin:
+ case evtRefreshAggregatesEnd:
+ case evtRefreshFilesetsBegin:
+ case evtRefreshFilesetsEnd:
+ case evtRefreshUsersBegin:
+ case evtRefreshUsersEnd:
+ case evtRefreshAllBegin:
+ case evtRefreshAllUpdate:
+ case evtRefreshAllSectionStart:
+ case evtRefreshAllSectionEnd:
+ case evtRefreshAllEnd:
+ case evtOpenCellBegin:
+ case evtOpenCellEnd:
+ case evtSyncVLDBBegin:
+ case evtSyncVLDBEnd:
+ case evtGetServerLogFileBegin:
+ case evtGetServerLogFileEnd:
+ case evtInstallFileBegin:
+ case evtInstallFileEnd:
+ case evtUninstallFileBegin:
+ case evtUninstallFileEnd:
+ case evtGetFileDatesBegin:
+ case evtGetFileDatesEnd:
+ case evtPruneFilesBegin:
+ case evtPruneFilesEnd:
+ case evtSetServerAuthBegin:
+ case evtSetServerAuthEnd:
+ case evtGetRestartTimesBegin:
+ case evtGetRestartTimesEnd:
+ case evtSetRestartTimesBegin:
+ case evtSetRestartTimesEnd:
+ case evtChangeAddressBegin:
+ case evtChangeAddressEnd:
+ case evtAdminListLoadBegin:
+ case evtAdminListLoadEnd:
+ case evtAdminListSaveBegin:
+ case evtAdminListSaveEnd:
+ case evtKeyListLoadBegin:
+ case evtKeyListLoadEnd:
+ case evtHostListLoadBegin:
+ case evtHostListLoadEnd:
+ case evtHostListSaveBegin:
+ case evtHostListSaveEnd:
+ case evtCreateServiceBegin:
+ case evtCreateServiceEnd:
+ case evtDeleteServiceBegin:
+ case evtDeleteServiceEnd:
+ case evtStartServiceBegin:
+ case evtStartServiceEnd:
+ case evtStopServiceBegin:
+ case evtStopServiceEnd:
+ case evtRestartServiceBegin:
+ case evtRestartServiceEnd:
+ case evtCreateFilesetBegin:
+ case evtCreateFilesetEnd:
+ case evtMoveFilesetBegin:
+ case evtMoveFilesetEnd:
+ case evtCreateReplicaBegin:
+ case evtCreateReplicaEnd:
+ case evtRenameFilesetBegin:
+ case evtRenameFilesetEnd:
+ case evtCloneMultipleBegin:
+ case evtCloneMultipleEnd:
+ case evtDumpFilesetBegin:
+ case evtDumpFilesetEnd:
+ case evtRestoreFilesetBegin:
+ case evtRestoreFilesetEnd:
+ case evtDeleteFilesetBegin:
+ case evtDeleteFilesetEnd:
+ case evtSetFilesetQuotaBegin:
+ case evtSetFilesetQuotaEnd:
+ case evtLockFilesetBegin:
+ case evtLockFilesetEnd:
+ case evtUnlockFilesetBegin:
+ case evtUnlockFilesetEnd:
+ case evtUnlockAllFilesetsBegin:
+ case evtUnlockAllFilesetsEnd:
+ case evtSetFilesetRepParamsBegin:
+ case evtSetFilesetRepParamsEnd:
+ case evtReleaseFilesetBegin:
+ case evtReleaseFilesetEnd:
+ case evtCloneBegin:
+ case evtCloneEnd:
+ case evtSetFilesetOwnerGroupBegin:
+ case evtSetFilesetOwnerGroupEnd:
+ case evtSetFilesetPermissionsBegin:
+ case evtSetFilesetPermissionsEnd:
+ case evtExecuteCommandBegin:
+ case evtExecuteCommandEnd:
+ case evtSalvageBegin:
+ case evtSalvageEnd:
+ case evtCreateUserBegin:
+ case evtCreateUserEnd:
+ case evtChangeUserBegin:
+ case evtChangeUserEnd:
+ case evtChangeUserPasswordBegin:
+ case evtChangeUserPasswordEnd:
+ case evtDeleteUserBegin:
+ case evtDeleteUserEnd:
+ case evtUnlockUserBegin:
+ case evtUnlockUserEnd:
+ case evtCreateGroupBegin:
+ case evtCreateGroupEnd:
+ case evtChangeGroupBegin:
+ case evtChangeGroupEnd:
+ case evtRenameGroupBegin:
+ case evtRenameGroupEnd:
+ case evtDeleteGroupBegin:
+ case evtDeleteGroupEnd:
+ case evtGroupMemberAddBegin:
+ case evtGroupMemberAddEnd:
+ case evtGroupMemberRemoveBegin:
+ case evtGroupMemberRemoveEnd:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afssvrmgr/dispatch.cpp.~1~ 2000-11-04 05:02:03.000000000 -0500
+++ ./src/WINNT/afssvrmgr/dispatch.cpp 2003-11-19 16:16:17.000000000 -0500
@@ -399,6 +640,124 @@
}
}
break;
+
+ case evtRefreshServersBegin:
+ case evtRefreshServersEnd:
+ case evtRefreshServicesBegin:
+ case evtRefreshServicesEnd:
+ case evtRefreshAggregatesBegin:
+ case evtRefreshAggregatesEnd:
+ case evtRefreshUsersBegin:
+ case evtRefreshUsersEnd:
+ case evtRefreshAllBegin:
+ case evtRefreshAllUpdate:
+ case evtRefreshAllSectionStart:
+ case evtRefreshAllSectionEnd:
+ case evtRefreshAllEnd:
+ case evtOpenCellBegin:
+ case evtOpenCellEnd:
+ case evtSyncVLDBBegin:
+ case evtSyncVLDBEnd:
+ case evtGetServerLogFileBegin:
+ case evtGetServerLogFileEnd:
+ case evtInstallFileBegin:
+ case evtInstallFileEnd:
+ case evtUninstallFileBegin:
+ case evtUninstallFileEnd:
+ case evtGetFileDatesBegin:
+ case evtGetFileDatesEnd:
+ case evtPruneFilesBegin:
+ case evtPruneFilesEnd:
+ case evtSetServerAuthBegin:
+ case evtSetServerAuthEnd:
+ case evtGetRestartTimesBegin:
+ case evtGetRestartTimesEnd:
+ case evtSetRestartTimesBegin:
+ case evtSetRestartTimesEnd:
+ case evtChangeAddressBegin:
+ case evtChangeAddressEnd:
+ case evtAdminListLoadBegin:
+ case evtAdminListLoadEnd:
+ case evtAdminListSaveBegin:
+ case evtAdminListSaveEnd:
+ case evtKeyListLoadBegin:
+ case evtKeyListLoadEnd:
+ case evtHostListLoadBegin:
+ case evtHostListLoadEnd:
+ case evtHostListSaveBegin:
+ case evtHostListSaveEnd:
+ case evtCreateServiceBegin:
+ case evtCreateServiceEnd:
+ case evtDeleteServiceBegin:
+ case evtDeleteServiceEnd:
+ case evtStartServiceBegin:
+ case evtStartServiceEnd:
+ case evtStopServiceBegin:
+ case evtStopServiceEnd:
+ case evtRestartServiceBegin:
+ case evtRestartServiceEnd:
+ case evtCreateFilesetBegin:
+ case evtCreateFilesetEnd:
+ case evtMoveFilesetBegin:
+ case evtMoveFilesetEnd:
+ case evtCreateReplicaBegin:
+ case evtCreateReplicaEnd:
+ case evtRenameFilesetBegin:
+ case evtRenameFilesetEnd:
+ case evtCloneMultipleBegin:
+ case evtCloneMultipleEnd:
+ case evtDumpFilesetBegin:
+ case evtDumpFilesetEnd:
+ case evtRestoreFilesetBegin:
+ case evtRestoreFilesetEnd:
+ case evtDeleteFilesetBegin:
+ case evtDeleteFilesetEnd:
+ case evtSetFilesetQuotaBegin:
+ case evtSetFilesetQuotaEnd:
+ case evtLockFilesetBegin:
+ case evtLockFilesetEnd:
+ case evtUnlockFilesetBegin:
+ case evtUnlockFilesetEnd:
+ case evtUnlockAllFilesetsBegin:
+ case evtUnlockAllFilesetsEnd:
+ case evtSetFilesetRepParamsBegin:
+ case evtSetFilesetRepParamsEnd:
+ case evtReleaseFilesetBegin:
+ case evtReleaseFilesetEnd:
+ case evtCloneBegin:
+ case evtCloneEnd:
+ case evtSetFilesetOwnerGroupBegin:
+ case evtSetFilesetOwnerGroupEnd:
+ case evtSetFilesetPermissionsBegin:
+ case evtSetFilesetPermissionsEnd:
+ case evtExecuteCommandBegin:
+ case evtExecuteCommandEnd:
+ case evtSalvageBegin:
+ case evtSalvageEnd:
+ case evtCreateUserBegin:
+ case evtCreateUserEnd:
+ case evtChangeUserBegin:
+ case evtChangeUserEnd:
+ case evtChangeUserPasswordBegin:
+ case evtChangeUserPasswordEnd:
+ case evtDeleteUserBegin:
+ case evtDeleteUserEnd:
+ case evtUnlockUserBegin:
+ case evtUnlockUserEnd:
+ case evtCreateGroupBegin:
+ case evtCreateGroupEnd:
+ case evtChangeGroupBegin:
+ case evtChangeGroupEnd:
+ case evtRenameGroupBegin:
+ case evtRenameGroupEnd:
+ case evtDeleteGroupBegin:
+ case evtDeleteGroupEnd:
+ case evtGroupMemberAddBegin:
+ case evtGroupMemberAddEnd:
+ case evtGroupMemberRemoveBegin:
+ case evtGroupMemberRemoveEnd:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afssvrmgr/dispatch.cpp.~1~ 2000-11-04 05:02:03.000000000 -0500
+++ ./src/WINNT/afssvrmgr/dispatch.cpp 2003-11-19 16:16:17.000000000 -0500
@@ -434,6 +793,125 @@
}
}
break;
+
+ case evtInvalidate:
+ case evtRefreshServersBegin:
+ case evtRefreshServersEnd:
+ case evtRefreshServicesBegin:
+ case evtRefreshServicesEnd:
+ case evtRefreshFilesetsBegin:
+ case evtRefreshFilesetsEnd:
+ case evtRefreshUsersBegin:
+ case evtRefreshUsersEnd:
+ case evtRefreshAllBegin:
+ case evtRefreshAllUpdate:
+ case evtRefreshAllSectionStart:
+ case evtRefreshAllSectionEnd:
+ case evtRefreshAllEnd:
+ case evtOpenCellBegin:
+ case evtOpenCellEnd:
+ case evtSyncVLDBBegin:
+ case evtSyncVLDBEnd:
+ case evtGetServerLogFileBegin:
+ case evtGetServerLogFileEnd:
+ case evtInstallFileBegin:
+ case evtInstallFileEnd:
+ case evtUninstallFileBegin:
+ case evtUninstallFileEnd:
+ case evtGetFileDatesBegin:
+ case evtGetFileDatesEnd:
+ case evtPruneFilesBegin:
+ case evtPruneFilesEnd:
+ case evtSetServerAuthBegin:
+ case evtSetServerAuthEnd:
+ case evtGetRestartTimesBegin:
+ case evtGetRestartTimesEnd:
+ case evtSetRestartTimesBegin:
+ case evtSetRestartTimesEnd:
+ case evtChangeAddressBegin:
+ case evtChangeAddressEnd:
+ case evtAdminListLoadBegin:
+ case evtAdminListLoadEnd:
+ case evtAdminListSaveBegin:
+ case evtAdminListSaveEnd:
+ case evtKeyListLoadBegin:
+ case evtKeyListLoadEnd:
+ case evtHostListLoadBegin:
+ case evtHostListLoadEnd:
+ case evtHostListSaveBegin:
+ case evtHostListSaveEnd:
+ case evtCreateServiceBegin:
+ case evtCreateServiceEnd:
+ case evtDeleteServiceBegin:
+ case evtDeleteServiceEnd:
+ case evtStartServiceBegin:
+ case evtStartServiceEnd:
+ case evtStopServiceBegin:
+ case evtStopServiceEnd:
+ case evtRestartServiceBegin:
+ case evtRestartServiceEnd:
+ case evtCreateFilesetBegin:
+ case evtCreateFilesetEnd:
+ case evtMoveFilesetBegin:
+ case evtMoveFilesetEnd:
+ case evtCreateReplicaBegin:
+ case evtCreateReplicaEnd:
+ case evtRenameFilesetBegin:
+ case evtRenameFilesetEnd:
+ case evtCloneMultipleBegin:
+ case evtCloneMultipleEnd:
+ case evtDumpFilesetBegin:
+ case evtDumpFilesetEnd:
+ case evtRestoreFilesetBegin:
+ case evtRestoreFilesetEnd:
+ case evtDeleteFilesetBegin:
+ case evtDeleteFilesetEnd:
+ case evtSetFilesetQuotaBegin:
+ case evtSetFilesetQuotaEnd:
+ case evtLockFilesetBegin:
+ case evtLockFilesetEnd:
+ case evtUnlockFilesetBegin:
+ case evtUnlockFilesetEnd:
+ case evtUnlockAllFilesetsBegin:
+ case evtUnlockAllFilesetsEnd:
+ case evtSetFilesetRepParamsBegin:
+ case evtSetFilesetRepParamsEnd:
+ case evtReleaseFilesetBegin:
+ case evtReleaseFilesetEnd:
+ case evtCloneBegin:
+ case evtCloneEnd:
+ case evtSetFilesetOwnerGroupBegin:
+ case evtSetFilesetOwnerGroupEnd:
+ case evtSetFilesetPermissionsBegin:
+ case evtSetFilesetPermissionsEnd:
+ case evtExecuteCommandBegin:
+ case evtExecuteCommandEnd:
+ case evtSalvageBegin:
+ case evtSalvageEnd:
+ case evtCreateUserBegin:
+ case evtCreateUserEnd:
+ case evtChangeUserBegin:
+ case evtChangeUserEnd:
+ case evtChangeUserPasswordBegin:
+ case evtChangeUserPasswordEnd:
+ case evtDeleteUserBegin:
+ case evtDeleteUserEnd:
+ case evtUnlockUserBegin:
+ case evtUnlockUserEnd:
+ case evtCreateGroupBegin:
+ case evtCreateGroupEnd:
+ case evtChangeGroupBegin:
+ case evtChangeGroupEnd:
+ case evtRenameGroupBegin:
+ case evtRenameGroupEnd:
+ case evtDeleteGroupBegin:
+ case evtDeleteGroupEnd:
+ case evtGroupMemberAddBegin:
+ case evtGroupMemberAddEnd:
+ case evtGroupMemberRemoveBegin:
+ case evtGroupMemberRemoveEnd:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afssvrmgr/dispatch.cpp.~1~ 2000-11-04 05:02:03.000000000 -0500
+++ ./src/WINNT/afssvrmgr/dispatch.cpp 2003-11-19 16:16:17.000000000 -0500
@@ -469,6 +947,125 @@
}
}
break;
+
+ case evtInvalidate:
+ case evtRefreshServersBegin:
+ case evtRefreshServersEnd:
+ case evtRefreshAggregatesBegin:
+ case evtRefreshAggregatesEnd:
+ case evtRefreshFilesetsBegin:
+ case evtRefreshFilesetsEnd:
+ case evtRefreshUsersBegin:
+ case evtRefreshUsersEnd:
+ case evtRefreshAllBegin:
+ case evtRefreshAllUpdate:
+ case evtRefreshAllSectionStart:
+ case evtRefreshAllSectionEnd:
+ case evtRefreshAllEnd:
+ case evtOpenCellBegin:
+ case evtOpenCellEnd:
+ case evtSyncVLDBBegin:
+ case evtSyncVLDBEnd:
+ case evtGetServerLogFileBegin:
+ case evtGetServerLogFileEnd:
+ case evtInstallFileBegin:
+ case evtInstallFileEnd:
+ case evtUninstallFileBegin:
+ case evtUninstallFileEnd:
+ case evtGetFileDatesBegin:
+ case evtGetFileDatesEnd:
+ case evtPruneFilesBegin:
+ case evtPruneFilesEnd:
+ case evtSetServerAuthBegin:
+ case evtSetServerAuthEnd:
+ case evtGetRestartTimesBegin:
+ case evtGetRestartTimesEnd:
+ case evtSetRestartTimesBegin:
+ case evtSetRestartTimesEnd:
+ case evtChangeAddressBegin:
+ case evtChangeAddressEnd:
+ case evtAdminListLoadBegin:
+ case evtAdminListLoadEnd:
+ case evtAdminListSaveBegin:
+ case evtAdminListSaveEnd:
+ case evtKeyListLoadBegin:
+ case evtKeyListLoadEnd:
+ case evtHostListLoadBegin:
+ case evtHostListLoadEnd:
+ case evtHostListSaveBegin:
+ case evtHostListSaveEnd:
+ case evtCreateServiceBegin:
+ case evtCreateServiceEnd:
+ case evtDeleteServiceBegin:
+ case evtDeleteServiceEnd:
+ case evtStartServiceBegin:
+ case evtStartServiceEnd:
+ case evtStopServiceBegin:
+ case evtStopServiceEnd:
+ case evtRestartServiceBegin:
+ case evtRestartServiceEnd:
+ case evtCreateFilesetBegin:
+ case evtCreateFilesetEnd:
+ case evtMoveFilesetBegin:
+ case evtMoveFilesetEnd:
+ case evtCreateReplicaBegin:
+ case evtCreateReplicaEnd:
+ case evtRenameFilesetBegin:
+ case evtRenameFilesetEnd:
+ case evtCloneMultipleBegin:
+ case evtCloneMultipleEnd:
+ case evtDumpFilesetBegin:
+ case evtDumpFilesetEnd:
+ case evtRestoreFilesetBegin:
+ case evtRestoreFilesetEnd:
+ case evtDeleteFilesetBegin:
+ case evtDeleteFilesetEnd:
+ case evtSetFilesetQuotaBegin:
+ case evtSetFilesetQuotaEnd:
+ case evtLockFilesetBegin:
+ case evtLockFilesetEnd:
+ case evtUnlockFilesetBegin:
+ case evtUnlockFilesetEnd:
+ case evtUnlockAllFilesetsBegin:
+ case evtUnlockAllFilesetsEnd:
+ case evtSetFilesetRepParamsBegin:
+ case evtSetFilesetRepParamsEnd:
+ case evtReleaseFilesetBegin:
+ case evtReleaseFilesetEnd:
+ case evtCloneBegin:
+ case evtCloneEnd:
+ case evtSetFilesetOwnerGroupBegin:
+ case evtSetFilesetOwnerGroupEnd:
+ case evtSetFilesetPermissionsBegin:
+ case evtSetFilesetPermissionsEnd:
+ case evtExecuteCommandBegin:
+ case evtExecuteCommandEnd:
+ case evtSalvageBegin:
+ case evtSalvageEnd:
+ case evtCreateUserBegin:
+ case evtCreateUserEnd:
+ case evtChangeUserBegin:
+ case evtChangeUserEnd:
+ case evtChangeUserPasswordBegin:
+ case evtChangeUserPasswordEnd:
+ case evtDeleteUserBegin:
+ case evtDeleteUserEnd:
+ case evtUnlockUserBegin:
+ case evtUnlockUserEnd:
+ case evtCreateGroupBegin:
+ case evtCreateGroupEnd:
+ case evtChangeGroupBegin:
+ case evtChangeGroupEnd:
+ case evtRenameGroupBegin:
+ case evtRenameGroupEnd:
+ case evtDeleteGroupBegin:
+ case evtDeleteGroupEnd:
+ case evtGroupMemberAddBegin:
+ case evtGroupMemberAddEnd:
+ case evtGroupMemberRemoveBegin:
+ case evtGroupMemberRemoveEnd:
+ /* keep lint happy */
+ break;
}
break;
}
--- ./src/WINNT/afssvrmgr/display.cpp.~1~ 2000-11-04 05:02:04.000000000 -0500
+++ ./src/WINNT/afssvrmgr/display.cpp 2003-11-19 16:27:10.000000000 -0500
@@ -128,6 +128,12 @@
if (lpi->fIsFileset())
psz = Replicas_GetColumnText (lpi, (REPLICACOLUMN)iCol);
break;
+
+ case dtINVALID:
+ case dtCELL:
+ case dtSERVERWINDOW:
+ /* keep lint happy */
+ break;
}
}
}
--- ./src/WINNT/afssvrmgr/display.cpp.~1~ 2000-11-04 05:02:04.000000000 -0500
+++ ./src/WINNT/afssvrmgr/display.cpp 2003-11-19 16:27:10.000000000 -0500
@@ -355,6 +361,11 @@
case dtAGGREGATES: pdrActive = &drActiveAGGREGATES; break;
case dtFILESETS: pdrActive = &drActiveFILESETS; break;
case dtSERVERWINDOW: pdrActive = &drActiveSERVERWINDOW; break;
+ case dtINVALID:
+ case dtCELL:
+ case dtREPLICAS:
+ /* keep lint happy */
+ break;
}
if (pdrActive)
memcpy (pdrActive, &dr, sizeof(DISPLAYREQUEST));
--- ./src/WINNT/afssvrmgr/display.cpp.~1~ 2000-11-04 05:02:04.000000000 -0500
+++ ./src/WINNT/afssvrmgr/display.cpp 2003-11-19 16:27:10.000000000 -0500
@@ -392,6 +403,10 @@
case dtSERVERWINDOW:
Display_ServerWindow_Internal (&dr);
break;
+
+ case dtINVALID:
+ /* keep lint happy */
+ break;
}
EnterCriticalSection (pcsDisplayQueue);
--- ./src/WINNT/afssvrmgr/display.cpp.~1~ 2000-11-04 05:02:04.000000000 -0500
+++ ./src/WINNT/afssvrmgr/display.cpp 2003-11-19 16:27:10.000000000 -0500
@@ -478,6 +493,12 @@
case dtSERVERWINDOW:
pdrKiller = &drActiveSERVERWINDOW;
break;
+
+ case dtINVALID:
+ case dtCELL:
+ case dtREPLICAS:
+ /* keep lint happy */
+ break;
}
if (!pdrKiller)
--- ./src/WINNT/afssvrmgr/display.cpp.~1~ 2000-11-04 05:02:04.000000000 -0500
+++ ./src/WINNT/afssvrmgr/display.cpp 2003-11-19 16:27:10.000000000 -0500
@@ -497,6 +518,14 @@
case dtSERVERWINDOW:
return TRUE; // update svr window twice? why?
+
+ case dtINVALID:
+ case dtSERVERS:
+ case dtSERVICES:
+ case dtAGGREGATES:
+ case dtFILESETS:
+ /* keep lint happy */
+ break;
}
// if the new request talks about displaying information for a different
--- ./src/WINNT/afssvrmgr/display.cpp.~1~ 2000-11-04 05:02:04.000000000 -0500
+++ ./src/WINNT/afssvrmgr/display.cpp 2003-11-19 16:27:10.000000000 -0500
@@ -699,6 +728,10 @@
{
switch (((LPNMHDR)lp)->code)
{
+ default:
+ /* keep lint happy */
+ break;
+
case FLN_COLUMNRESIZE:
FL_StoreView (hList, pvi);
return TRUE;
--- ./src/WINNT/afssvrmgr/helpfunc.cpp.~1~ 2000-11-04 05:02:04.000000000 -0500
+++ ./src/WINNT/afssvrmgr/helpfunc.cpp 2003-11-19 16:31:23.000000000 -0500
@@ -187,8 +187,16 @@
case IDCANCEL:
EndDialog (hDlg, LOWORD(wp));
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/helpfunc.cpp.~1~ 2000-11-04 05:02:04.000000000 -0500
+++ ./src/WINNT/afssvrmgr/helpfunc.cpp 2003-11-19 16:31:23.000000000 -0500
@@ -341,8 +349,16 @@
case IDCANCEL:
EndDialog (hDlg, LOWORD(wp));
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/helpfunc.cpp.~1~ 2000-11-04 05:02:04.000000000 -0500
+++ ./src/WINNT/afssvrmgr/helpfunc.cpp 2003-11-19 16:31:23.000000000 -0500
@@ -488,12 +504,20 @@
case IDCANCEL:
EndDialog (hDlg, LOWORD(wp));
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
case WM_SYSCOMMAND+1:
Help_About_OnSysCommand (hDlg, cmd);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/options.cpp.~1~ 2000-11-04 05:02:05.000000000 -0500
+++ ./src/WINNT/afssvrmgr/options.cpp 2003-11-19 16:34:23.000000000 -0500
@@ -87,8 +87,16 @@
case IDC_OPT_WARN_BADCREDS:
PropSheetChanged (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/problems.cpp.~1~ 2000-11-04 05:02:05.000000000 -0500
+++ ./src/WINNT/afssvrmgr/problems.cpp 2003-11-19 16:40:35.000000000 -0500
@@ -70,6 +70,10 @@
case IDC_PROBLEM_REMEDY:
Problems_OnRemedy (hDlg, lpi);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afssvrmgr/problems.cpp.~1~ 2000-11-04 05:02:05.000000000 -0500
+++ ./src/WINNT/afssvrmgr/problems.cpp 2003-11-19 16:40:35.000000000 -0500
@@ -110,6 +114,9 @@
case SB_BOTTOM:
posNew = nAlertsMAX;
break;
+ default:
+ /* keep lint happy */
+ break;
}
SCROLLINFO si;
--- ./src/WINNT/afssvrmgr/problems.cpp.~1~ 2000-11-04 05:02:05.000000000 -0500
+++ ./src/WINNT/afssvrmgr/problems.cpp 2003-11-19 16:40:35.000000000 -0500
@@ -125,6 +132,10 @@
Problems_OnRedraw (hDlg, lpi);
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/problems.cpp.~1~ 2000-11-04 05:02:05.000000000 -0500
+++ ./src/WINNT/afssvrmgr/problems.cpp 2003-11-19 16:40:35.000000000 -0500
@@ -335,6 +348,11 @@
case alertSTATE_OFFLINE:
// No button in these cases
break;
+
+ case alertINVALID:
+ case alertSECONDARY:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/set_clone.cpp.~1~ 2000-11-04 05:02:06.000000000 -0500
+++ ./src/WINNT/afssvrmgr/set_clone.cpp 2003-11-20 08:17:12.000000000 -0500
@@ -101,12 +101,19 @@
case IDCANCEL:
EndDialog (hDlg, LOWORD(wp));
break;
+ default:
+ /* keep lint happy */
+ break;
}
break;
case WM_DESTROY:
PropCache_Delete (pcSET_CLONE, NULL);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/set_clone.cpp.~1~ 2000-11-04 05:02:06.000000000 -0500
+++ ./src/WINNT/afssvrmgr/set_clone.cpp 2003-11-20 08:17:12.000000000 -0500
@@ -193,12 +200,20 @@
Filesets_Clonesys_OnSelectServer (hDlg, pcsp);
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
case WM_DESTROY:
PropCache_Delete (pcSET_CLONE, NULL);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/set_create.cpp.~1~ 2000-11-04 05:02:07.000000000 -0500
+++ ./src/WINNT/afssvrmgr/set_create.cpp 2003-11-19 16:45:04.000000000 -0500
@@ -178,6 +178,10 @@
case IDC_SET_CLONE:
pscp->fCreateClone = IsDlgButtonChecked (hDlg, IDC_SET_CLONE);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afssvrmgr/set_create.cpp.~1~ 2000-11-04 05:02:07.000000000 -0500
+++ ./src/WINNT/afssvrmgr/set_create.cpp 2003-11-19 16:45:04.000000000 -0500
@@ -199,8 +203,16 @@
Filesets_Create_EnableOK (hDlg, pscp);
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/set_create.cpp.~1~ 2000-11-04 05:02:07.000000000 -0500
+++ ./src/WINNT/afssvrmgr/set_create.cpp 2003-11-19 16:45:04.000000000 -0500
@@ -232,8 +244,16 @@
case M_COLUMNS:
ShowColumnsDialog (GetParent (hList), &gr.viewAggCreate);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return rc;
--- ./src/WINNT/afssvrmgr/set_createrep.cpp.~1~ 2000-11-04 05:02:07.000000000 -0500
+++ ./src/WINNT/afssvrmgr/set_createrep.cpp 2003-11-19 16:47:23.000000000 -0500
@@ -137,6 +137,10 @@
if (HIWORD(wp) == CBN_SELCHANGE)
Filesets_CreateReplica_OnSelectServer (hDlg, &pscp->lpiTarget);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afssvrmgr/set_createrep.cpp.~1~ 2000-11-04 05:02:07.000000000 -0500
+++ ./src/WINNT/afssvrmgr/set_createrep.cpp 2003-11-19 16:47:23.000000000 -0500
@@ -156,8 +160,16 @@
Filesets_CreateReplica_EnableOK (hDlg, pscp);
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/set_createrep.cpp.~1~ 2000-11-04 05:02:07.000000000 -0500
+++ ./src/WINNT/afssvrmgr/set_createrep.cpp 2003-11-19 16:47:23.000000000 -0500
@@ -189,8 +201,16 @@
case M_COLUMNS:
ShowColumnsDialog (GetParent (hList), &gr.viewAggMove);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return rc;
--- ./src/WINNT/afssvrmgr/set_delete.cpp.~1~ 2000-11-04 05:02:07.000000000 -0500
+++ ./src/WINNT/afssvrmgr/set_delete.cpp 2003-11-19 16:47:50.000000000 -0500
@@ -106,6 +106,10 @@
case IDC_DELSET_SERVER:
Filesets_Delete_OnCheckBoxes (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afssvrmgr/set_delete.cpp.~1~ 2000-11-04 05:02:07.000000000 -0500
+++ ./src/WINNT/afssvrmgr/set_delete.cpp 2003-11-19 16:47:50.000000000 -0500
@@ -114,6 +118,10 @@
SetWindowLong (hDlg, DWL_USER, 0);
psdp = NULL;
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/set_dump.cpp.~1~ 2000-11-04 05:02:07.000000000 -0500
+++ ./src/WINNT/afssvrmgr/set_dump.cpp 2003-11-19 16:48:13.000000000 -0500
@@ -97,12 +97,20 @@
case IDC_DUMP_BROWSE:
Filesets_Dump_OnBrowse (hDlg, psdp);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
case WM_DESTROY:
psdp = NULL;
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/set_move.cpp.~1~ 2000-11-04 05:02:08.000000000 -0500
+++ ./src/WINNT/afssvrmgr/set_move.cpp 2003-11-20 14:05:57.000000000 -0500
@@ -141,6 +141,10 @@
if (HIWORD(wp) == CBN_SELCHANGE)
Filesets_MoveTo_OnSelectServer (hDlg, &psmp->lpiTarget);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afssvrmgr/set_move.cpp.~1~ 2000-11-04 05:02:08.000000000 -0500
+++ ./src/WINNT/afssvrmgr/set_move.cpp 2003-11-20 14:05:57.000000000 -0500
@@ -160,8 +164,16 @@
Filesets_MoveTo_EnableOK (hDlg, psmp);
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/set_move.cpp.~1~ 2000-11-04 05:02:08.000000000 -0500
+++ ./src/WINNT/afssvrmgr/set_move.cpp 2003-11-20 14:05:57.000000000 -0500
@@ -193,8 +205,16 @@
case M_COLUMNS:
ShowColumnsDialog (GetParent (hList), &gr.viewAggMove);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return rc;
--- ./src/WINNT/afssvrmgr/set_prop.cpp.~1~ 2000-11-04 05:02:08.000000000 -0500
+++ ./src/WINNT/afssvrmgr/set_prop.cpp 2003-11-20 14:06:01.000000000 -0500
@@ -167,8 +167,16 @@
case IDC_SET_UNLOCK:
StartTask (taskSET_UNLOCK, NULL, lpi);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/set_quota.cpp.~1~ 2000-11-04 05:02:08.000000000 -0500
+++ ./src/WINNT/afssvrmgr/set_quota.cpp 2003-11-20 14:06:07.000000000 -0500
@@ -125,12 +125,20 @@
nAlerts = Alert_GetCount (lpp->lpiFileset->GetAggregate());
Aggregates_ShowProperties (lpp->lpiFileset->GetAggregate(), nAlerts, TRUE, hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
case WM_DESTROY:
lpp = NULL;
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/set_release.cpp.~1~ 2000-11-04 05:02:08.000000000 -0500
+++ ./src/WINNT/afssvrmgr/set_release.cpp 2003-11-20 14:06:10.000000000 -0500
@@ -81,12 +81,20 @@
case IDCANCEL:
DestroyWindow (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
case WM_DESTROY:
PropCache_Delete (pcSET_RELEASE, lpi);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/set_rename.cpp.~1~ 2000-11-04 05:02:09.000000000 -0500
+++ ./src/WINNT/afssvrmgr/set_rename.cpp 2003-11-20 14:06:20.000000000 -0500
@@ -113,12 +113,20 @@
case IDHELP:
WinHelp (hDlg, cszHELPFILENAME, HELP_CONTEXT, IDH_SVRMGR_RENAMEFILESET_OVERVIEW);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
case WM_DESTROY:
psrp = NULL;
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/set_repprop.cpp.~1~ 2000-11-04 05:02:09.000000000 -0500
+++ ./src/WINNT/afssvrmgr/set_repprop.cpp 2003-11-20 14:06:29.000000000 -0500
@@ -196,6 +196,10 @@
case IDC_SET_RELEASE:
Filesets_Release (prp->lpiRW);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afssvrmgr/set_repprop.cpp.~1~ 2000-11-04 05:02:09.000000000 -0500
+++ ./src/WINNT/afssvrmgr/set_repprop.cpp 2003-11-20 14:06:29.000000000 -0500
@@ -214,8 +218,16 @@
case FLN_ITEMSELECT:
Filesets_RepSites_OnSelect (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
}
--- ./src/WINNT/afssvrmgr/set_repprop.cpp.~1~ 2000-11-04 05:02:09.000000000 -0500
+++ ./src/WINNT/afssvrmgr/set_repprop.cpp 2003-11-20 14:06:29.000000000 -0500
@@ -248,8 +260,16 @@
case M_COLUMNS:
ShowColumnsDialog (GetParent (hList), &gr.viewRep);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return rc;
--- ./src/WINNT/afssvrmgr/set_restore.cpp.~1~ 2000-11-04 05:02:09.000000000 -0500
+++ ./src/WINNT/afssvrmgr/set_restore.cpp 2003-11-20 14:06:51.000000000 -0500
@@ -169,6 +169,10 @@
case IDC_RESTORE_BROWSE:
Filesets_Restore_OnBrowse (hDlg, psrp);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afssvrmgr/set_restore.cpp.~1~ 2000-11-04 05:02:09.000000000 -0500
+++ ./src/WINNT/afssvrmgr/set_restore.cpp 2003-11-20 14:06:51.000000000 -0500
@@ -183,8 +187,16 @@
case FLN_ITEMSELECT:
Filesets_Restore_OnAggregate (hDlg, psrp);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/set_restore.cpp.~1~ 2000-11-04 05:02:09.000000000 -0500
+++ ./src/WINNT/afssvrmgr/set_restore.cpp 2003-11-20 14:06:51.000000000 -0500
@@ -216,8 +228,16 @@
case M_COLUMNS:
ShowColumnsDialog (GetParent (hList), &gr.viewAggRestore);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return rc;
--- ./src/WINNT/afssvrmgr/set_tab.cpp.~1~ 2000-11-04 05:02:09.000000000 -0500
+++ ./src/WINNT/afssvrmgr/set_tab.cpp 2003-11-20 16:29:11.000000000 -0500
@@ -211,6 +211,10 @@
case IDC_SET_SETQUOTA:
SendMessage (GetDlgItem (hDlg, IDC_SET_LIST), WM_COMMAND, M_SET_SETQUOTA, 0);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afssvrmgr/set_tab.cpp.~1~ 2000-11-04 05:02:09.000000000 -0500
+++ ./src/WINNT/afssvrmgr/set_tab.cpp 2003-11-20 16:29:11.000000000 -0500
@@ -315,8 +319,16 @@
}
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/set_tab.cpp.~1~ 2000-11-04 05:02:09.000000000 -0500
+++ ./src/WINNT/afssvrmgr/set_tab.cpp 2003-11-20 16:29:11.000000000 -0500
@@ -377,6 +389,128 @@
UpdateDisplay_Filesets (FALSE, GetDlgItem (lpns->hwndTarget, IDC_SET_LIST), lpns->Params.lpi1, lpns->Params.status, NULL, NULL, NULL);
}
break;
+ case evtCreate:
+ case evtInvalidate:
+ case evtRefreshStatusBegin:
+ case evtRefreshServersBegin:
+ case evtRefreshServersEnd:
+ case evtRefreshServicesBegin:
+ case evtRefreshServicesEnd:
+ case evtRefreshAggregatesBegin:
+ case evtRefreshAggregatesEnd:
+ case evtRefreshFilesetsBegin:
+ case evtRefreshUsersBegin:
+ case evtRefreshUsersEnd:
+ case evtRefreshAllBegin:
+ case evtRefreshAllUpdate:
+ case evtRefreshAllSectionStart:
+ case evtRefreshAllSectionEnd:
+ case evtRefreshAllEnd:
+ case evtOpenCellBegin:
+ case evtOpenCellEnd:
+ case evtSyncVLDBBegin:
+ case evtSyncVLDBEnd:
+ case evtGetServerLogFileBegin:
+ case evtGetServerLogFileEnd:
+ case evtInstallFileBegin:
+ case evtInstallFileEnd:
+ case evtUninstallFileBegin:
+ case evtUninstallFileEnd:
+ case evtGetFileDatesBegin:
+ case evtGetFileDatesEnd:
+ case evtPruneFilesBegin:
+ case evtPruneFilesEnd:
+ case evtSetServerAuthBegin:
+ case evtSetServerAuthEnd:
+ case evtGetRestartTimesBegin:
+ case evtGetRestartTimesEnd:
+ case evtSetRestartTimesBegin:
+ case evtSetRestartTimesEnd:
+ case evtChangeAddressBegin:
+ case evtChangeAddressEnd:
+ case evtAdminListLoadBegin:
+ case evtAdminListLoadEnd:
+ case evtAdminListSaveBegin:
+ case evtAdminListSaveEnd:
+ case evtKeyListLoadBegin:
+ case evtKeyListLoadEnd:
+ case evtHostListLoadBegin:
+ case evtHostListLoadEnd:
+ case evtHostListSaveBegin:
+ case evtHostListSaveEnd:
+ case evtCreateServiceBegin:
+ case evtCreateServiceEnd:
+ case evtDeleteServiceBegin:
+ case evtDeleteServiceEnd:
+ case evtStartServiceBegin:
+ case evtStartServiceEnd:
+ case evtStopServiceBegin:
+ case evtStopServiceEnd:
+ case evtRestartServiceBegin:
+ case evtRestartServiceEnd:
+ case evtCreateFilesetBegin:
+ case evtCreateFilesetEnd:
+ case evtMoveFilesetBegin:
+ case evtMoveFilesetEnd:
+ case evtCreateReplicaBegin:
+ case evtCreateReplicaEnd:
+ case evtRenameFilesetBegin:
+ case evtRenameFilesetEnd:
+ case evtCloneMultipleBegin:
+ case evtCloneMultipleEnd:
+ case evtDumpFilesetBegin:
+ case evtDumpFilesetEnd:
+ case evtRestoreFilesetBegin:
+ case evtRestoreFilesetEnd:
+ case evtDeleteFilesetBegin:
+ case evtDeleteFilesetEnd:
+ case evtSetFilesetQuotaBegin:
+ case evtSetFilesetQuotaEnd:
+ case evtLockFilesetBegin:
+ case evtLockFilesetEnd:
+ case evtUnlockFilesetBegin:
+ case evtUnlockFilesetEnd:
+ case evtUnlockAllFilesetsBegin:
+ case evtUnlockAllFilesetsEnd:
+ case evtSetFilesetRepParamsBegin:
+ case evtSetFilesetRepParamsEnd:
+ case evtReleaseFilesetBegin:
+ case evtReleaseFilesetEnd:
+ case evtCloneBegin:
+ case evtCloneEnd:
+ case evtSetFilesetOwnerGroupBegin:
+ case evtSetFilesetOwnerGroupEnd:
+ case evtSetFilesetPermissionsBegin:
+ case evtSetFilesetPermissionsEnd:
+ case evtExecuteCommandBegin:
+ case evtExecuteCommandEnd:
+ case evtSalvageBegin:
+ case evtSalvageEnd:
+ case evtCreateUserBegin:
+ case evtCreateUserEnd:
+ case evtChangeUserBegin:
+ case evtChangeUserEnd:
+ case evtChangeUserPasswordBegin:
+ case evtChangeUserPasswordEnd:
+ case evtDeleteUserBegin:
+ case evtDeleteUserEnd:
+ case evtUnlockUserBegin:
+ case evtUnlockUserEnd:
+ case evtCreateGroupBegin:
+ case evtCreateGroupEnd:
+ case evtChangeGroupBegin:
+ case evtChangeGroupEnd:
+ case evtRenameGroupBegin:
+ case evtRenameGroupEnd:
+ case evtDeleteGroupBegin:
+ case evtDeleteGroupEnd:
+ case evtGroupMemberAddBegin:
+ case evtGroupMemberAddEnd:
+ case evtGroupMemberRemoveBegin:
+ case evtGroupMemberRemoveEnd:
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/set_tab.cpp.~1~ 2000-11-04 05:02:09.000000000 -0500
+++ ./src/WINNT/afssvrmgr/set_tab.cpp 2003-11-20 16:29:11.000000000 -0500
@@ -402,6 +536,10 @@
case WM_COMMAND:
Filesets_Subclass_OnCommand (hList, msg, wp, lp);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return rc;
--- ./src/WINNT/afssvrmgr/subset.cpp.~1~ 2000-11-04 05:02:10.000000000 -0500
+++ ./src/WINNT/afssvrmgr/subset.cpp 2003-11-20 14:07:51.000000000 -0500
@@ -252,8 +252,16 @@
SetWindowLong (hDlg, DWL_USER, (LONG)subNew);
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/subset.cpp.~1~ 2000-11-04 05:02:10.000000000 -0500
+++ ./src/WINNT/afssvrmgr/subset.cpp 2003-11-20 14:07:51.000000000 -0500
@@ -803,6 +811,10 @@
case IDC_SUBSET_RENAME:
Subsets_OpenSave_OnRename (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
break;
--- ./src/WINNT/afssvrmgr/subset.cpp.~1~ 2000-11-04 05:02:10.000000000 -0500
+++ ./src/WINNT/afssvrmgr/subset.cpp 2003-11-20 14:07:51.000000000 -0500
@@ -888,8 +900,16 @@
fEditing = FALSE;
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/svc_create.cpp.~1~ 2001-02-12 11:12:25.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svc_create.cpp 2003-11-20 14:07:55.000000000 -0500
@@ -101,8 +101,16 @@
case IDC_SVC_TYPE_CRON:
Services_Create_OnType (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/svc_delete.cpp.~1~ 2000-11-04 05:02:10.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svc_delete.cpp 2003-11-20 14:08:00.000000000 -0500
@@ -65,12 +65,20 @@
case IDCANCEL:
EndDialog (hDlg, LOWORD(wp));
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
case WM_DESTROY:
lpi = NULL;
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/svc_prop.cpp.~1~ 2000-11-04 05:02:11.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svc_prop.cpp 2003-11-20 14:08:06.000000000 -0500
@@ -171,8 +171,16 @@
case IDC_SVC_VIEWLOG:
Services_ShowServiceLog (lpi);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/svc_prop.cpp.~1~ 2000-11-04 05:02:11.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svc_prop.cpp 2003-11-20 14:08:06.000000000 -0500
@@ -397,8 +405,16 @@
case IDC_BOS_BINRES_TIME:
PropSheetChanged (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/svc_startstop.cpp.~1~ 2000-11-04 05:02:11.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svc_startstop.cpp 2003-11-20 14:08:08.000000000 -0500
@@ -120,8 +120,16 @@
case IDCANCEL:
EndDialog (hDlg, IDCANCEL);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/svc_tab.cpp.~1~ 2000-11-04 05:02:11.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svc_tab.cpp 2003-11-20 16:33:09.000000000 -0500
@@ -163,6 +163,10 @@
case IDC_SVC_DELETE:
SendMessage (GetDlgItem (hDlg, IDC_SVC_LIST), WM_COMMAND, M_SVC_DELETE, 0);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afssvrmgr/svc_tab.cpp.~1~ 2000-11-04 05:02:11.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svc_tab.cpp 2003-11-20 16:33:09.000000000 -0500
@@ -180,6 +184,10 @@
PostMessage (GetDlgItem (hDlg, IDC_SVC_LIST), WM_COMMAND, M_PROPERTIES, 0);
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afssvrmgr/svc_tab.cpp.~1~ 2000-11-04 05:02:11.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svc_tab.cpp 2003-11-20 16:33:09.000000000 -0500
@@ -197,6 +205,10 @@
Services_ShowPopupMenu ((HWND)wp, ptClient, ptScreen);
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/svc_tab.cpp.~1~ 2000-11-04 05:02:11.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svc_tab.cpp 2003-11-20 16:33:09.000000000 -0500
@@ -237,6 +249,128 @@
case evtDestroy:
UpdateDisplay_Services (FALSE, lpns->hwndTarget, (LPIDENT)lpns->Params.lpi1, lpns->Params.status);
break;
+ case evtCreate:
+ case evtInvalidate:
+ case evtRefreshStatusBegin:
+ case evtRefreshServersBegin:
+ case evtRefreshServersEnd:
+ case evtRefreshServicesBegin:
+ case evtRefreshAggregatesBegin:
+ case evtRefreshAggregatesEnd:
+ case evtRefreshFilesetsBegin:
+ case evtRefreshFilesetsEnd:
+ case evtRefreshUsersBegin:
+ case evtRefreshUsersEnd:
+ case evtRefreshAllBegin:
+ case evtRefreshAllUpdate:
+ case evtRefreshAllSectionStart:
+ case evtRefreshAllSectionEnd:
+ case evtRefreshAllEnd:
+ case evtOpenCellBegin:
+ case evtOpenCellEnd:
+ case evtSyncVLDBBegin:
+ case evtSyncVLDBEnd:
+ case evtGetServerLogFileBegin:
+ case evtGetServerLogFileEnd:
+ case evtInstallFileBegin:
+ case evtInstallFileEnd:
+ case evtUninstallFileBegin:
+ case evtUninstallFileEnd:
+ case evtGetFileDatesBegin:
+ case evtGetFileDatesEnd:
+ case evtPruneFilesBegin:
+ case evtPruneFilesEnd:
+ case evtSetServerAuthBegin:
+ case evtSetServerAuthEnd:
+ case evtGetRestartTimesBegin:
+ case evtGetRestartTimesEnd:
+ case evtSetRestartTimesBegin:
+ case evtSetRestartTimesEnd:
+ case evtChangeAddressBegin:
+ case evtChangeAddressEnd:
+ case evtAdminListLoadBegin:
+ case evtAdminListLoadEnd:
+ case evtAdminListSaveBegin:
+ case evtAdminListSaveEnd:
+ case evtKeyListLoadBegin:
+ case evtKeyListLoadEnd:
+ case evtHostListLoadBegin:
+ case evtHostListLoadEnd:
+ case evtHostListSaveBegin:
+ case evtHostListSaveEnd:
+ case evtCreateServiceBegin:
+ case evtCreateServiceEnd:
+ case evtDeleteServiceBegin:
+ case evtDeleteServiceEnd:
+ case evtStartServiceBegin:
+ case evtStartServiceEnd:
+ case evtStopServiceBegin:
+ case evtStopServiceEnd:
+ case evtRestartServiceBegin:
+ case evtRestartServiceEnd:
+ case evtCreateFilesetBegin:
+ case evtCreateFilesetEnd:
+ case evtMoveFilesetBegin:
+ case evtMoveFilesetEnd:
+ case evtCreateReplicaBegin:
+ case evtCreateReplicaEnd:
+ case evtRenameFilesetBegin:
+ case evtRenameFilesetEnd:
+ case evtCloneMultipleBegin:
+ case evtCloneMultipleEnd:
+ case evtDumpFilesetBegin:
+ case evtDumpFilesetEnd:
+ case evtRestoreFilesetBegin:
+ case evtRestoreFilesetEnd:
+ case evtDeleteFilesetBegin:
+ case evtDeleteFilesetEnd:
+ case evtSetFilesetQuotaBegin:
+ case evtSetFilesetQuotaEnd:
+ case evtLockFilesetBegin:
+ case evtLockFilesetEnd:
+ case evtUnlockFilesetBegin:
+ case evtUnlockFilesetEnd:
+ case evtUnlockAllFilesetsBegin:
+ case evtUnlockAllFilesetsEnd:
+ case evtSetFilesetRepParamsBegin:
+ case evtSetFilesetRepParamsEnd:
+ case evtReleaseFilesetBegin:
+ case evtReleaseFilesetEnd:
+ case evtCloneBegin:
+ case evtCloneEnd:
+ case evtSetFilesetOwnerGroupBegin:
+ case evtSetFilesetOwnerGroupEnd:
+ case evtSetFilesetPermissionsBegin:
+ case evtSetFilesetPermissionsEnd:
+ case evtExecuteCommandBegin:
+ case evtExecuteCommandEnd:
+ case evtSalvageBegin:
+ case evtSalvageEnd:
+ case evtCreateUserBegin:
+ case evtCreateUserEnd:
+ case evtChangeUserBegin:
+ case evtChangeUserEnd:
+ case evtChangeUserPasswordBegin:
+ case evtChangeUserPasswordEnd:
+ case evtDeleteUserBegin:
+ case evtDeleteUserEnd:
+ case evtUnlockUserBegin:
+ case evtUnlockUserEnd:
+ case evtCreateGroupBegin:
+ case evtCreateGroupEnd:
+ case evtChangeGroupBegin:
+ case evtChangeGroupEnd:
+ case evtRenameGroupBegin:
+ case evtRenameGroupEnd:
+ case evtDeleteGroupBegin:
+ case evtDeleteGroupEnd:
+ case evtGroupMemberAddBegin:
+ case evtGroupMemberAddEnd:
+ case evtGroupMemberRemoveBegin:
+ case evtGroupMemberRemoveEnd:
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/svc_tab.cpp.~1~ 2000-11-04 05:02:11.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svc_tab.cpp 2003-11-20 16:33:09.000000000 -0500
@@ -265,6 +399,10 @@
(LPIDENT)FL_GetSelectedData (hList),
LOWORD(wp));
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return rc;
--- ./src/WINNT/afssvrmgr/svc_viewlog.cpp.~1~ 2000-11-04 05:02:12.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svc_viewlog.cpp 2003-11-20 15:44:37.000000000 -0500
@@ -151,6 +151,10 @@
case IDC_VIEWLOG_SAVEAS:
Services_ShowLog_OnSaveAs (hDlg, lpp);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afssvrmgr/svc_viewlog.cpp.~1~ 2000-11-04 05:02:12.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svc_viewlog.cpp 2003-11-20 15:44:37.000000000 -0500
@@ -161,6 +165,10 @@
return (BOOL)CreateSolidBrush (GetSysColor (COLOR_WINDOW));
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/svc_viewlog.cpp.~1~ 2000-11-04 05:02:12.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svc_viewlog.cpp 2003-11-20 15:44:37.000000000 -0500
@@ -443,6 +451,10 @@
case IDCANCEL:
EndDialog (hDlg, LOWORD(wp));
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afssvrmgr/svc_viewlog.cpp.~1~ 2000-11-04 05:02:12.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svc_viewlog.cpp 2003-11-20 15:44:37.000000000 -0500
@@ -467,8 +479,16 @@
lpp->lpiServer = lpi;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/svr_address.cpp.~1~ 2000-11-04 05:02:12.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_address.cpp 2003-11-20 14:08:33.000000000 -0500
@@ -152,8 +152,16 @@
case IDCANCEL:
EndDialog (hDlg, IDCANCEL);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/svr_address.cpp.~1~ 2000-11-04 05:02:12.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_address.cpp 2003-11-20 14:08:33.000000000 -0500
@@ -359,8 +367,16 @@
case IDCANCEL:
EndDialog (hDlg, IDCANCEL);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/svr_execute.cpp.~1~ 2000-11-04 05:02:12.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_execute.cpp 2003-11-20 14:08:36.000000000 -0500
@@ -99,6 +99,10 @@
case IDC_COMMAND:
Server_Execute_EnableOK (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afssvrmgr/svr_execute.cpp.~1~ 2000-11-04 05:02:12.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_execute.cpp 2003-11-20 14:08:36.000000000 -0500
@@ -107,6 +111,10 @@
SetWindowLong (hDlg, DWL_USER, 0);
PropCache_Delete (pcSVR_EXECUTE, NULL);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/svr_getdates.cpp.~1~ 2000-11-04 05:02:13.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_getdates.cpp 2003-11-20 14:08:42.000000000 -0500
@@ -103,6 +103,10 @@
case IDC_FILENAME:
Server_GetDates_EnableOK (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afssvrmgr/svr_getdates.cpp.~1~ 2000-11-04 05:02:13.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_getdates.cpp 2003-11-20 14:08:42.000000000 -0500
@@ -111,6 +115,10 @@
SetWindowLong (hDlg, DWL_USER, 0);
PropCache_Delete (pcSVR_GETDATES, NULL);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/svr_getdates.cpp.~1~ 2000-11-04 05:02:13.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_getdates.cpp 2003-11-20 14:08:42.000000000 -0500
@@ -196,8 +204,16 @@
case IDCANCEL:
DestroyWindow (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/svr_hosts.cpp.~1~ 2000-11-04 05:02:13.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_hosts.cpp 2003-11-20 14:08:50.000000000 -0500
@@ -149,6 +149,10 @@
Server_Hosts_OnDelEntry (hDlg, lpp);
PropSheetChanged (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afssvrmgr/svr_hosts.cpp.~1~ 2000-11-04 05:02:13.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_hosts.cpp 2003-11-20 14:08:50.000000000 -0500
@@ -161,8 +165,16 @@
Server_Hosts_OnSelect (hDlg, lpp);
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/svr_hosts.cpp.~1~ 2000-11-04 05:02:13.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_hosts.cpp 2003-11-20 14:08:50.000000000 -0500
@@ -350,8 +362,16 @@
case IDC_ADDHOST_HOST:
Server_AddHost_EnableOK (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/svr_install.cpp.~1~ 2000-11-04 05:02:13.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_install.cpp 2003-11-20 14:08:53.000000000 -0500
@@ -105,6 +105,10 @@
case IDC_SERVER:
Server_Install_EnableOK (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afssvrmgr/svr_install.cpp.~1~ 2000-11-04 05:02:13.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_install.cpp 2003-11-20 14:08:53.000000000 -0500
@@ -113,6 +117,10 @@
PropCache_Delete (pcSVR_INSTALL, NULL);
Delete (lpp);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/svr_prop.cpp.~1~ 2000-11-04 05:02:13.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_prop.cpp 2003-11-20 14:09:00.000000000 -0500
@@ -132,6 +132,10 @@
case IDC_SVR_CHANGEADDR:
Server_General_OnChangeAddr (hDlg, lpiServer);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afssvrmgr/svr_prop.cpp.~1~ 2000-11-04 05:02:13.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_prop.cpp 2003-11-20 14:09:00.000000000 -0500
@@ -142,6 +146,10 @@
return (BOOL)CreateSolidBrush (GetSysColor (COLOR_BTNFACE));
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/svr_prop.cpp.~1~ 2000-11-04 05:02:13.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_prop.cpp 2003-11-20 14:09:00.000000000 -0500
@@ -300,8 +308,16 @@
Server_Scout_OnAutoRefresh (hDlg, lpiServer);
PropSheetChanged (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/svr_prune.cpp.~1~ 2000-11-04 05:02:14.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_prune.cpp 2003-11-20 14:09:03.000000000 -0500
@@ -101,6 +101,10 @@
case IDC_OP_DELETE_CORE:
Server_Prune_EnableOK (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afssvrmgr/svr_prune.cpp.~1~ 2000-11-04 05:02:14.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_prune.cpp 2003-11-20 14:09:03.000000000 -0500
@@ -109,6 +113,10 @@
PropCache_Delete (pcSVR_PRUNE, NULL);
Delete (lpp);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/svr_salvage.cpp.~1~ 2000-11-04 05:02:14.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_salvage.cpp 2003-11-20 15:44:17.000000000 -0500
@@ -144,12 +144,20 @@
case IDC_ADVANCED:
Server_Salvage_OnAdvanced (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
case WM_DESTROY:
PropCache_Delete (pcSVR_SALVAGE, lpi);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/svr_salvage.cpp.~1~ 2000-11-04 05:02:14.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_salvage.cpp 2003-11-20 15:44:17.000000000 -0500
@@ -453,6 +461,10 @@
case IDCANCEL:
DestroyWindow (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afssvrmgr/svr_salvage.cpp.~1~ 2000-11-04 05:02:14.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_salvage.cpp 2003-11-20 15:44:17.000000000 -0500
@@ -463,6 +475,10 @@
return (BOOL)CreateSolidBrush (GetSysColor (COLOR_WINDOW));
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
return FALSE;
--- ./src/WINNT/afssvrmgr/svr_security.cpp.~1~ 2000-11-04 05:02:14.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_security.cpp 2003-11-20 14:09:30.000000000 -0500
@@ -206,6 +206,10 @@
Server_Lists_OnDelEntry (hDlg, lpp);
PropSheetChanged (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afssvrmgr/svr_security.cpp.~1~ 2000-11-04 05:02:14.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_security.cpp 2003-11-20 14:09:30.000000000 -0500
@@ -218,8 +222,16 @@
Server_Lists_OnSelect (hDlg, lpp);
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/svr_security.cpp.~1~ 2000-11-04 05:02:14.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_security.cpp 2003-11-20 14:09:30.000000000 -0500
@@ -446,6 +458,10 @@
case IDC_KEY_REMOVE:
Server_Keys_OnDelKey (hDlg, lpp);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afssvrmgr/svr_security.cpp.~1~ 2000-11-04 05:02:14.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_security.cpp 2003-11-20 14:09:30.000000000 -0500
@@ -458,8 +474,16 @@
Server_Keys_OnSelect (hDlg, lpp);
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/svr_security.cpp.~1~ 2000-11-04 05:02:14.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_security.cpp 2003-11-20 14:09:30.000000000 -0500
@@ -725,8 +749,16 @@
case IDC_KEY_RANDOM:
CreateKey_OnRandom (hDlg, lpp);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/svr_syncvldb.cpp.~1~ 2000-11-04 05:02:14.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_syncvldb.cpp 2003-11-20 14:09:33.000000000 -0500
@@ -92,12 +92,20 @@
case IDCANCEL:
DestroyWindow (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
case WM_DESTROY:
PropCache_Delete (pcSVR_SYNCVLDB, lpi);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/svr_uninstall.cpp.~1~ 2000-11-04 05:02:15.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_uninstall.cpp 2003-11-20 14:09:36.000000000 -0500
@@ -99,6 +99,10 @@
case IDC_FILENAME:
Server_Uninstall_EnableOK (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afssvrmgr/svr_uninstall.cpp.~1~ 2000-11-04 05:02:15.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_uninstall.cpp 2003-11-20 14:09:36.000000000 -0500
@@ -107,6 +111,10 @@
PropCache_Delete (pcSVR_UNINSTALL, NULL);
Delete (lpp);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/svr_window.cpp.~1~ 2000-11-04 05:02:15.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_window.cpp 2003-11-20 16:33:30.000000000 -0500
@@ -314,6 +314,10 @@
else
DestroyWindow (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afssvrmgr/svr_window.cpp.~1~ 2000-11-04 05:02:15.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_window.cpp 2003-11-20 16:33:30.000000000 -0500
@@ -329,8 +333,16 @@
gr.tabLast = (CHILDTAB)iPage;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/svr_window.cpp.~1~ 2000-11-04 05:02:15.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_window.cpp 2003-11-20 16:33:30.000000000 -0500
@@ -366,6 +378,10 @@
if (procTabControl != 0)
SetWindowLong (hTab, GWL_WNDPROC, procTabControl);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return rc;
--- ./src/WINNT/afssvrmgr/svr_window.cpp.~1~ 2000-11-04 05:02:15.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_window.cpp 2003-11-20 16:33:30.000000000 -0500
@@ -430,6 +446,10 @@
idd = IDD_FILESETS;
dlgproc = (DLGPROC)Filesets_DlgProc;
break;
+ case tabINVALID:
+ default:
+ /* keep lint happy */
+ break;
}
if (idd != -1)
--- ./src/WINNT/afssvrmgr/svr_window.cpp.~1~ 2000-11-04 05:02:15.000000000 -0500
+++ ./src/WINNT/afssvrmgr/svr_window.cpp 2003-11-20 16:33:30.000000000 -0500
@@ -514,6 +534,10 @@
case M_KEY_PROPERTIES:
Server_OnKey_Properties();
return TRUE;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/window.cpp.~1~ 2000-11-04 05:02:16.000000000 -0500
+++ ./src/WINNT/afssvrmgr/window.cpp 2003-11-20 21:40:22.000000000 -0500
@@ -454,8 +452,16 @@
}
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afssvrmgr/window.cpp.~1~ 2000-11-04 05:02:16.000000000 -0500
+++ ./src/WINNT/afssvrmgr/window.cpp 2003-11-20 21:40:22.000000000 -0500
@@ -492,6 +498,128 @@
UpdateDisplay_Servers (FALSE, NULL, 0);
}
break;
+
+ case evtInvalidate:
+ case evtRefreshStatusBegin:
+ case evtRefreshServersBegin:
+ case evtRefreshServicesBegin:
+ case evtRefreshServicesEnd:
+ case evtRefreshAggregatesBegin:
+ case evtRefreshAggregatesEnd:
+ case evtRefreshFilesetsBegin:
+ case evtRefreshFilesetsEnd:
+ case evtRefreshUsersBegin:
+ case evtRefreshUsersEnd:
+ case evtRefreshAllBegin:
+ case evtRefreshAllUpdate:
+ case evtRefreshAllSectionStart:
+ case evtRefreshAllSectionEnd:
+ case evtRefreshAllEnd:
+ case evtOpenCellBegin:
+ case evtOpenCellEnd:
+ case evtSyncVLDBBegin:
+ case evtSyncVLDBEnd:
+ case evtGetServerLogFileBegin:
+ case evtGetServerLogFileEnd:
+ case evtInstallFileBegin:
+ case evtInstallFileEnd:
+ case evtUninstallFileBegin:
+ case evtUninstallFileEnd:
+ case evtGetFileDatesBegin:
+ case evtGetFileDatesEnd:
+ case evtPruneFilesBegin:
+ case evtPruneFilesEnd:
+ case evtSetServerAuthBegin:
+ case evtSetServerAuthEnd:
+ case evtGetRestartTimesBegin:
+ case evtGetRestartTimesEnd:
+ case evtSetRestartTimesBegin:
+ case evtSetRestartTimesEnd:
+ case evtChangeAddressBegin:
+ case evtChangeAddressEnd:
+ case evtAdminListLoadBegin:
+ case evtAdminListLoadEnd:
+ case evtAdminListSaveBegin:
+ case evtAdminListSaveEnd:
+ case evtKeyListLoadBegin:
+ case evtKeyListLoadEnd:
+ case evtHostListLoadBegin:
+ case evtHostListLoadEnd:
+ case evtHostListSaveBegin:
+ case evtHostListSaveEnd:
+ case evtCreateServiceBegin:
+ case evtCreateServiceEnd:
+ case evtDeleteServiceBegin:
+ case evtDeleteServiceEnd:
+ case evtStartServiceBegin:
+ case evtStartServiceEnd:
+ case evtStopServiceBegin:
+ case evtStopServiceEnd:
+ case evtRestartServiceBegin:
+ case evtRestartServiceEnd:
+ case evtCreateFilesetBegin:
+ case evtCreateFilesetEnd:
+ case evtMoveFilesetBegin:
+ case evtMoveFilesetEnd:
+ case evtCreateReplicaBegin:
+ case evtCreateReplicaEnd:
+ case evtRenameFilesetBegin:
+ case evtRenameFilesetEnd:
+ case evtCloneMultipleBegin:
+ case evtCloneMultipleEnd:
+ case evtDumpFilesetBegin:
+ case evtDumpFilesetEnd:
+ case evtRestoreFilesetBegin:
+ case evtRestoreFilesetEnd:
+ case evtDeleteFilesetBegin:
+ case evtDeleteFilesetEnd:
+ case evtSetFilesetQuotaBegin:
+ case evtSetFilesetQuotaEnd:
+ case evtLockFilesetBegin:
+ case evtLockFilesetEnd:
+ case evtUnlockFilesetBegin:
+ case evtUnlockFilesetEnd:
+ case evtUnlockAllFilesetsBegin:
+ case evtUnlockAllFilesetsEnd:
+ case evtSetFilesetRepParamsBegin:
+ case evtSetFilesetRepParamsEnd:
+ case evtReleaseFilesetBegin:
+ case evtReleaseFilesetEnd:
+ case evtCloneBegin:
+ case evtCloneEnd:
+ case evtSetFilesetOwnerGroupBegin:
+ case evtSetFilesetOwnerGroupEnd:
+ case evtSetFilesetPermissionsBegin:
+ case evtSetFilesetPermissionsEnd:
+ case evtExecuteCommandBegin:
+ case evtExecuteCommandEnd:
+ case evtSalvageBegin:
+ case evtSalvageEnd:
+ case evtCreateUserBegin:
+ case evtCreateUserEnd:
+ case evtChangeUserBegin:
+ case evtChangeUserEnd:
+ case evtChangeUserPasswordBegin:
+ case evtChangeUserPasswordEnd:
+ case evtDeleteUserBegin:
+ case evtDeleteUserEnd:
+ case evtUnlockUserBegin:
+ case evtUnlockUserEnd:
+ case evtCreateGroupBegin:
+ case evtCreateGroupEnd:
+ case evtChangeGroupBegin:
+ case evtChangeGroupEnd:
+ case evtRenameGroupBegin:
+ case evtRenameGroupEnd:
+ case evtDeleteGroupBegin:
+ case evtDeleteGroupEnd:
+ case evtGroupMemberAddBegin:
+ case evtGroupMemberAddEnd:
+ case evtGroupMemberRemoveBegin:
+ case evtGroupMemberRemoveEnd:
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afssvrmgr/window.cpp.~1~ 2000-11-04 05:02:16.000000000 -0500
+++ ./src/WINNT/afssvrmgr/window.cpp 2003-11-20 21:40:22.000000000 -0500
@@ -921,6 +1049,10 @@
break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return rc;
--- ./src/WINNT/afssvrmgr/window.cpp.~1~ 2000-11-04 05:02:16.000000000 -0500
+++ ./src/WINNT/afssvrmgr/window.cpp 2003-11-20 21:40:22.000000000 -0500
@@ -1058,6 +1190,10 @@
case M_KEY_PROPERTIES:
Server_OnKey_Properties();
return TRUE;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afsusrmgr/action.cpp.~1~ 2000-11-04 05:02:22.000000000 -0500
+++ ./src/WINNT/afsusrmgr/action.cpp 2003-11-20 21:40:11.000000000 -0500
@@ -242,8 +242,15 @@
case IDCANCEL:
DestroyWindow (hDlg);
break;
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsusrmgr/action.cpp.~1~ 2000-11-04 05:02:22.000000000 -0500
+++ ./src/WINNT/afsusrmgr/action.cpp 2003-11-20 21:40:11.000000000 -0500
@@ -270,6 +277,23 @@
if (fFinished)
Display_PopulateList();
break;
+
+ case ACTION_SCOUT:
+ case ACTION_USER_CHANGE:
+ case ACTION_USER_PW_CHANGE:
+ case ACTION_USER_UNLOCK:
+ case ACTION_USER_CREATE:
+ case ACTION_USER_DELETE:
+ case ACTION_GROUP_CHANGE:
+ case ACTION_GROUP_MEMBER_ADD:
+ case ACTION_GROUP_MEMBER_REMOVE:
+ case ACTION_GROUP_RENAME:
+ case ACTION_GROUP_CREATE:
+ case ACTION_GROUP_DELETE:
+ case ACTION_CELL_CHANGE:
+ default:
+ /* keep lint happy */
+ break;
}
// If the Actions window is being displayed, use this notification
--- ./src/WINNT/afsusrmgr/browse.cpp.~1~ 2000-11-04 05:02:22.000000000 -0500
+++ ./src/WINNT/afsusrmgr/browse.cpp 2003-11-20 14:02:11.000000000 -0500
@@ -113,6 +113,9 @@
Browse_UpdateDialog (hDlg);
}
break;
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afsusrmgr/browse.cpp.~1~ 2000-11-04 05:02:22.000000000 -0500
+++ ./src/WINNT/afsusrmgr/browse.cpp 2003-11-20 14:02:11.000000000 -0500
@@ -170,6 +173,10 @@
SetTimer (hDlg, ID_SEARCH_TIMER, msecSEARCH_TIMER +15, NULL);
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afsusrmgr/browse.cpp.~1~ 2000-11-04 05:02:22.000000000 -0500
+++ ./src/WINNT/afsusrmgr/browse.cpp 2003-11-20 14:02:11.000000000 -0500
@@ -183,8 +190,16 @@
case FLN_LDBLCLICK:
PostMessage (hDlg, WM_COMMAND, MAKELONG(IDC_BROWSE_SELECT,BN_CLICKED), (LPARAM)GetDlgItem (hDlg, IDC_BROWSE_SELECT));
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsusrmgr/cell_prop.cpp.~1~ 2000-11-04 05:02:22.000000000 -0500
+++ ./src/WINNT/afsusrmgr/cell_prop.cpp 2003-11-20 14:02:19.000000000 -0500
@@ -119,8 +119,16 @@
case IDC_CELL_GROUPMAX:
PropSheetChanged (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsusrmgr/columns.cpp.~1~ 2000-11-04 05:02:23.000000000 -0500
+++ ./src/WINNT/afsusrmgr/columns.cpp 2003-11-20 15:37:58.000000000 -0500
@@ -184,8 +184,16 @@
case IDC_COL_DOWN:
Columns_OnMoveDown (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsusrmgr/columns.cpp.~1~ 2000-11-04 05:02:23.000000000 -0500
+++ ./src/WINNT/afsusrmgr/columns.cpp 2003-11-20 15:37:58.000000000 -0500
@@ -436,6 +444,10 @@
else
memcpy (&gr.viewMch, &COLUMNS[ iCol ].vi, sizeof(VIEWINFO));
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
}
--- ./src/WINNT/afsusrmgr/command.cpp.~1~ 2000-11-04 05:02:23.000000000 -0500
+++ ./src/WINNT/afsusrmgr/command.cpp 2003-11-20 16:24:38.000000000 -0500
@@ -339,6 +339,10 @@
case M_KEY_PROPERTIES:
Command_OnKey_Properties();
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afsusrmgr/command.cpp.~1~ 2000-11-04 05:02:23.000000000 -0500
+++ ./src/WINNT/afsusrmgr/command.cpp 2003-11-20 16:24:38.000000000 -0500
@@ -385,6 +389,9 @@
case M_VIEW_STATUS:
ivNew = ivSTATUS;
break;
+ default:
+ /* keep lint happy */
+ break;
}
if ((viNew.lvsView & FLS_VIEW_MASK) != FLS_VIEW_LIST)
--- ./src/WINNT/afsusrmgr/command.cpp.~1~ 2000-11-04 05:02:23.000000000 -0500
+++ ./src/WINNT/afsusrmgr/command.cpp 2003-11-20 16:24:38.000000000 -0500
@@ -452,6 +459,15 @@
case TYPE_GROUP:
fAnyGroups = TRUE;
break;
+ case TYPE_CELL:
+ case TYPE_SERVER:
+ case TYPE_SERVICE:
+ case TYPE_PARTITION:
+ case TYPE_VOLUME:
+ case TYPE_ANY:
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afsusrmgr/command.cpp.~1~ 2000-11-04 05:02:23.000000000 -0500
+++ ./src/WINNT/afsusrmgr/command.cpp 2003-11-20 16:24:38.000000000 -0500
@@ -490,6 +506,15 @@
case TYPE_GROUP:
fAnyGroups = TRUE;
break;
+ case TYPE_CELL:
+ case TYPE_SERVER:
+ case TYPE_SERVICE:
+ case TYPE_PARTITION:
+ case TYPE_VOLUME:
+ case TYPE_ANY:
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afsusrmgr/command.cpp.~1~ 2000-11-04 05:02:23.000000000 -0500
+++ ./src/WINNT/afsusrmgr/command.cpp 2003-11-20 16:24:38.000000000 -0500
@@ -586,6 +611,15 @@
case TYPE_GROUP:
fAnyGroups = TRUE;
break;
+ case TYPE_CELL:
+ case TYPE_SERVER:
+ case TYPE_SERVICE:
+ case TYPE_PARTITION:
+ case TYPE_VOLUME:
+ case TYPE_ANY:
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/afsusrmgr/creds.cpp.~1~ 2000-11-04 05:02:23.000000000 -0500
+++ ./src/WINNT/afsusrmgr/creds.cpp 2003-11-20 14:02:42.000000000 -0500
@@ -135,8 +135,15 @@
case IDOK:
OpenCell_Hook_OnOK (hDlg, (LPOPENCELLDLG_PARAMS)GetWindowLong (hDlg, DWL_USER));
return TRUE;
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsusrmgr/display.cpp.~1~ 2000-11-04 05:02:24.000000000 -0500
+++ ./src/WINNT/afsusrmgr/display.cpp 2003-11-20 14:02:46.000000000 -0500
@@ -546,6 +546,10 @@
{
switch (((LPNMHDR)lp)->code)
{
+ default:
+ /* keep lint happy */
+ break;
+
case FLN_COLUMNRESIZE:
FL_StoreView (hList, pvi);
return TRUE;
--- ./src/WINNT/afsusrmgr/general.cpp.~1~ 2000-11-04 05:02:24.000000000 -0500
+++ ./src/WINNT/afsusrmgr/general.cpp 2003-11-20 16:25:03.000000000 -0500
@@ -244,6 +244,10 @@
iCol = gr.viewGrp.aColumns[ iColumn ];
fnGetColumn = (GetColumnFunction)Group_GetColumn;
break;
+ case ttMACHINES: /* FIXME: this was added because it was missing */
+ default:
+ /* keep lint happy */
+ break;
}
if (fnGetColumn)
--- ./src/WINNT/afsusrmgr/grp_create.cpp.~1~ 2000-11-04 05:02:24.000000000 -0500
+++ ./src/WINNT/afsusrmgr/grp_create.cpp 2003-11-20 14:18:28.000000000 -0500
@@ -133,8 +133,16 @@
case IDC_NEWGROUP_ID_MANUAL:
Group_Create_OnID (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsusrmgr/grp_delete.cpp.~1~ 2000-11-04 05:02:25.000000000 -0500
+++ ./src/WINNT/afsusrmgr/grp_delete.cpp 2003-11-20 14:02:58.000000000 -0500
@@ -71,8 +71,16 @@
case IDCANCEL:
EndDialog (hDlg, IDCANCEL);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsusrmgr/grp_prop.cpp.~1~ 2000-11-04 05:02:25.000000000 -0500
+++ ./src/WINNT/afsusrmgr/grp_prop.cpp 2003-11-20 14:03:10.000000000 -0500
@@ -279,8 +279,16 @@
if (HIWORD(wp) == CBN_SELCHANGE)
PropSheetChanged (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsusrmgr/grp_prop.cpp.~1~ 2000-11-04 05:02:25.000000000 -0500
+++ ./src/WINNT/afsusrmgr/grp_prop.cpp 2003-11-20 14:03:10.000000000 -0500
@@ -563,6 +571,10 @@
case IDC_MEMBER_REMOVE:
GroupProp_Member_OnRemove (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afsusrmgr/grp_prop.cpp.~1~ 2000-11-04 05:02:25.000000000 -0500
+++ ./src/WINNT/afsusrmgr/grp_prop.cpp 2003-11-20 14:03:10.000000000 -0500
@@ -572,8 +584,16 @@
case FLN_ITEMSELECT:
GroupProp_Member_OnSelect (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
}
--- ./src/WINNT/afsusrmgr/grp_rename.cpp.~1~ 2000-11-04 05:02:25.000000000 -0500
+++ ./src/WINNT/afsusrmgr/grp_rename.cpp 2003-11-20 14:03:15.000000000 -0500
@@ -87,8 +87,16 @@
case IDC_RENAME_CHOWN:
Group_Rename_OnChangeOwner (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsusrmgr/grp_tab.cpp.~1~ 2000-11-04 05:02:25.000000000 -0500
+++ ./src/WINNT/afsusrmgr/grp_tab.cpp 2003-11-20 15:39:03.000000000 -0500
@@ -121,6 +121,10 @@
Display_PopulateGroupList();
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afsusrmgr/grp_tab.cpp.~1~ 2000-11-04 05:02:25.000000000 -0500
+++ ./src/WINNT/afsusrmgr/grp_tab.cpp 2003-11-20 15:39:03.000000000 -0500
@@ -160,8 +164,16 @@
case FLN_LDBLCLICK:
PostMessage (hDlg, WM_COMMAND, MAKELONG(M_PROPERTIES,BN_CLICKED), (LPARAM)GetDlgItem (hDlg, M_PROPERTIES));
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsusrmgr/helpfunc.cpp.~1~ 2000-11-04 05:02:26.000000000 -0500
+++ ./src/WINNT/afsusrmgr/helpfunc.cpp 2003-11-20 14:03:37.000000000 -0500
@@ -143,8 +143,16 @@
case IDCANCEL:
EndDialog (hDlg, LOWORD(wp));
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsusrmgr/helpfunc.cpp.~1~ 2000-11-04 05:02:26.000000000 -0500
+++ ./src/WINNT/afsusrmgr/helpfunc.cpp 2003-11-20 14:03:37.000000000 -0500
@@ -287,8 +295,16 @@
case IDCANCEL:
EndDialog (hDlg, LOWORD(wp));
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsusrmgr/helpfunc.cpp.~1~ 2000-11-04 05:02:26.000000000 -0500
+++ ./src/WINNT/afsusrmgr/helpfunc.cpp 2003-11-20 14:03:37.000000000 -0500
@@ -434,12 +450,20 @@
case IDCANCEL:
EndDialog (hDlg, LOWORD(wp));
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
case WM_SYSCOMMAND+1:
Help_About_OnSysCommand (hDlg, cmd);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsusrmgr/mch_create.cpp.~1~ 2000-11-04 05:02:27.000000000 -0500
+++ ./src/WINNT/afsusrmgr/mch_create.cpp 2003-11-20 14:03:44.000000000 -0500
@@ -141,8 +141,16 @@
case IDC_NEWUSER_ID_MANUAL:
Machine_Create_OnID (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsusrmgr/mch_delete.cpp.~1~ 2000-11-04 05:02:28.000000000 -0500
+++ ./src/WINNT/afsusrmgr/mch_delete.cpp 2003-11-20 14:04:11.000000000 -0500
@@ -72,8 +71,16 @@
case IDCANCEL:
EndDialog (hDlg, IDCANCEL);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsusrmgr/mch_tab.cpp.~1~ 2000-11-04 05:02:28.000000000 -0500
+++ ./src/WINNT/afsusrmgr/mch_tab.cpp 2003-11-20 15:39:35.000000000 -0500
@@ -121,6 +121,10 @@
Display_PopulateMachineList();
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afsusrmgr/mch_tab.cpp.~1~ 2000-11-04 05:02:28.000000000 -0500
+++ ./src/WINNT/afsusrmgr/mch_tab.cpp 2003-11-20 15:39:35.000000000 -0500
@@ -160,8 +164,16 @@
case FLN_LDBLCLICK:
PostMessage (hDlg, WM_COMMAND, MAKELONG(M_PROPERTIES,BN_CLICKED), (LPARAM)GetDlgItem (hDlg, M_PROPERTIES));
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsusrmgr/options.cpp.~1~ 2000-11-04 05:02:28.000000000 -0500
+++ ./src/WINNT/afsusrmgr/options.cpp 2003-11-20 14:04:24.000000000 -0500
@@ -70,8 +70,16 @@
case IDC_REFRESH:
EnableWindow (GetDlgItem (hDlg, IDC_REFRESH_RATE), IsDlgButtonChecked (hDlg, IDC_REFRESH));
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsusrmgr/usr_cpw.cpp.~1~ 2000-11-04 05:02:29.000000000 -0500
+++ ./src/WINNT/afsusrmgr/usr_cpw.cpp 2003-11-20 14:04:28.000000000 -0500
@@ -101,8 +101,16 @@
case IDC_CPW_RANDOM:
User_Password_OnRandom (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsusrmgr/usr_create.cpp.~1~ 2000-11-04 05:02:30.000000000 -0500
+++ ./src/WINNT/afsusrmgr/usr_create.cpp 2003-11-20 14:04:33.000000000 -0500
@@ -138,8 +138,16 @@
case IDC_NEWUSER_ID_MANUAL:
User_Create_OnID (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsusrmgr/usr_delete.cpp.~1~ 2000-11-04 05:02:30.000000000 -0500
+++ ./src/WINNT/afsusrmgr/usr_delete.cpp 2003-11-20 14:04:36.000000000 -0500
@@ -78,8 +78,16 @@
case IDC_DELETE_PTS:
User_Delete_OnCheck (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsusrmgr/usr_prop.cpp.~1~ 2000-11-04 05:02:30.000000000 -0500
+++ ./src/WINNT/afsusrmgr/usr_prop.cpp 2003-11-20 14:04:49.000000000 -0500
@@ -408,8 +408,16 @@
case IDC_USER_FAILLOCK_DURATION:
PropSheetChanged (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsusrmgr/usr_prop.cpp.~1~ 2000-11-04 05:02:30.000000000 -0500
+++ ./src/WINNT/afsusrmgr/usr_prop.cpp 2003-11-20 14:04:49.000000000 -0500
@@ -773,8 +781,16 @@
case IDC_USER_PERM_MEMBER:
PropSheetChanged (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsusrmgr/usr_prop.cpp.~1~ 2000-11-04 05:02:30.000000000 -0500
+++ ./src/WINNT/afsusrmgr/usr_prop.cpp 2003-11-20 14:04:49.000000000 -0500
@@ -1101,6 +1117,10 @@
case IDC_MEMBER_REMOVE:
UserProp_Member_OnRemove (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afsusrmgr/usr_prop.cpp.~1~ 2000-11-04 05:02:30.000000000 -0500
+++ ./src/WINNT/afsusrmgr/usr_prop.cpp 2003-11-20 14:04:49.000000000 -0500
@@ -1110,8 +1130,16 @@
case FLN_ITEMSELECT:
UserProp_Member_OnSelect (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
}
--- ./src/WINNT/afsusrmgr/usr_search.cpp.~1~ 2000-11-04 05:02:31.000000000 -0500
+++ ./src/WINNT/afsusrmgr/usr_search.cpp 2003-11-20 14:04:53.000000000 -0500
@@ -79,8 +79,16 @@
case IDC_SEARCH_PWEXPIRE:
Users_Search_OnCheck (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsusrmgr/usr_tab.cpp.~1~ 2000-11-04 05:02:31.000000000 -0500
+++ ./src/WINNT/afsusrmgr/usr_tab.cpp 2003-11-20 15:39:52.000000000 -0500
@@ -122,6 +122,10 @@
Display_PopulateUserList();
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afsusrmgr/usr_tab.cpp.~1~ 2000-11-04 05:02:31.000000000 -0500
+++ ./src/WINNT/afsusrmgr/usr_tab.cpp 2003-11-20 15:39:52.000000000 -0500
@@ -165,8 +169,16 @@
case FLN_LDBLCLICK:
PostMessage (hDlg, WM_COMMAND, MAKELONG(M_PROPERTIES,BN_CLICKED), (LPARAM)GetDlgItem (hDlg, M_PROPERTIES));
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsusrmgr/window.cpp.~1~ 2000-11-04 05:02:31.000000000 -0500
+++ ./src/WINNT/afsusrmgr/window.cpp 2003-11-20 15:41:12.000000000 -0500
@@ -165,6 +165,10 @@
case TCN_SELCHANGE:
Main_PrepareTabChild();
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/afsusrmgr/window.cpp.~1~ 2000-11-04 05:02:31.000000000 -0500
+++ ./src/WINNT/afsusrmgr/window.cpp 2003-11-20 15:41:12.000000000 -0500
@@ -174,6 +178,10 @@
WinHelp (hDlg, cszHELPFILENAME, HELP_FINDER, 0);
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/afsusrmgr/window.cpp.~1~ 2000-11-04 05:02:31.000000000 -0500
+++ ./src/WINNT/afsusrmgr/window.cpp 2003-11-20 15:41:12.000000000 -0500
@@ -253,6 +261,10 @@
case WM_DESTROY:
Subclass_RemoveHook (hTab, Main_TabHookProc);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return rc;
--- ./src/WINNT/client_config/dlg_automap.cpp.~1~ 2002-01-08 15:44:39.000000000 -0500
+++ ./src/WINNT/client_config/dlg_automap.cpp 2003-11-20 14:15:55.000000000 -0500
@@ -103,6 +103,10 @@
case IDC_REMOVE:
AutoMap_OnRemove(hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/client_config/dlg_automap.cpp.~1~ 2002-01-08 15:44:39.000000000 -0500
+++ ./src/WINNT/client_config/dlg_automap.cpp 2003-11-20 14:15:55.000000000 -0500
@@ -117,12 +121,20 @@
if (IsWindowEnabled (GetDlgItem (hDlg, IDC_EDIT)))
AutoMap_OnEdit (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
case WM_HELP:
WinHelp (hDlg, g.szHelpFile, HELP_CONTEXT, IDH_AFSCONFIG_ADVANCED_AUTOMAP);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/client_config/dlg_automap.cpp.~1~ 2002-01-08 15:44:39.000000000 -0500
+++ ./src/WINNT/client_config/dlg_automap.cpp 2003-11-20 14:15:55.000000000 -0500
@@ -397,12 +409,20 @@
case IDHELP:
AutoMapEdit_DlgProc (hDlg, WM_HELP, 0, 0);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
case WM_HELP:
WinHelp (hDlg, g.szHelpFile, HELP_CONTEXT, IDH_AFSCONFIG_ADVANCED_AUTOMAP_ADDEDIT);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
}
--- ./src/WINNT/client_config/dlg_diag.cpp.~1~ 2000-11-04 05:02:37.000000000 -0500
+++ ./src/WINNT/client_config/dlg_diag.cpp 2003-11-20 14:15:39.000000000 -0500
@@ -81,12 +81,20 @@
case IDCANCEL:
Diag_OnCancel(hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
case WM_HELP:
WinHelp (hDlg, g.szHelpFile, HELP_CONTEXT, IDH_AFSCONFIG_ADVANCED_DIAG);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/client_config/dlg_logon.cpp.~1~ 2000-11-04 05:02:37.000000000 -0500
+++ ./src/WINNT/client_config/dlg_logon.cpp 2003-11-20 14:15:35.000000000 -0500
@@ -83,12 +83,20 @@
case IDCANCEL:
Logon_OnCancel(hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
case WM_HELP:
WinHelp (hDlg, g.szHelpFile, HELP_CONTEXT, IDH_AFSCONFIG_ADVANCED_LOGON);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/client_config/dlg_misc.cpp.~1~ 2001-11-10 17:31:10.000000000 -0500
+++ ./src/WINNT/client_config/dlg_misc.cpp 2003-11-20 14:15:45.000000000 -0500
@@ -102,12 +102,20 @@
nLanAdapter=0;
SP_SetPos (GetDlgItem (hDlg, IDC_LAN_ADAPTER),nLanAdapter);
EnableWindow(GetDlgItem(hDlg,IDC_LAN_ADAPTER),(nLanAdapter!=-1));
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
case WM_HELP:
WinHelp (hDlg, g.szHelpFile, HELP_CONTEXT, IDH_AFSCONFIG_ADVANCED_MISC);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/client_config/main.cpp.~1~ 2000-11-04 05:02:38.000000000 -0500
+++ ./src/WINNT/client_config/main.cpp 2003-11-20 14:40:23.000000000 -0500
@@ -79,6 +70,9 @@
case 'C':
g.fIsCCenter = TRUE;
break;
+ default:
+ /* keep lint happy */
+ break;
}
while (*pCmdLine == ' ')
--- ./src/WINNT/client_config/tab_advanced.cpp.~1~ 2000-11-04 05:02:39.000000000 -0500
+++ ./src/WINNT/client_config/tab_advanced.cpp 2003-11-20 14:14:39.000000000 -0500
@@ -133,18 +133,29 @@
case SPN_CHANGE:
(*(LPDWORD)lp) = 1 << (log2 (*(LPDWORD)lp));
break;
+ default:
+ /* keep lint happy */
+ break;
}
break;
case IDHELP:
AdvancedTab_DlgProc (hDlg, WM_HELP, 0, 0);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
case WM_HELP:
WinHelp (hDlg, g.szHelpFile, HELP_CONTEXT, IDH_AFSCONFIG_ADVANCED_NT);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/client_config/tab_drives.cpp.~1~ 2001-11-10 17:31:10.000000000 -0500
+++ ./src/WINNT/client_config/tab_drives.cpp 2003-11-20 14:14:57.000000000 -0500
@@ -100,12 +100,20 @@
case IDHELP:
DrivesTab_DlgProc (hDlg, WM_HELP, 0, 0);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
case WM_HELP:
WinHelp (hDlg, g.szHelpFile, HELP_CONTEXT, IDH_AFSCONFIG_DRIVES);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/client_config/tab_drives.cpp.~1~ 2001-11-10 17:31:10.000000000 -0500
+++ ./src/WINNT/client_config/tab_drives.cpp 2003-11-20 14:14:57.000000000 -0500
@@ -383,12 +391,20 @@
case IDHELP:
DriveEdit_DlgProc (hDlg, WM_HELP, 0, 0);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
case WM_HELP:
WinHelp (hDlg, g.szHelpFile, HELP_CONTEXT, IDH_AFSCONFIG_DRIVES_ADDEDIT);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
}
--- ./src/WINNT/client_config/tab_drives.cpp.~1~ 2001-11-10 17:31:10.000000000 -0500
+++ ./src/WINNT/client_config/tab_drives.cpp 2003-11-20 14:14:57.000000000 -0500
@@ -510,6 +526,10 @@
case IDHELP:
Submounts_DlgProc (hDlg, WM_HELP, 0, 0);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/client_config/tab_drives.cpp.~1~ 2001-11-10 17:31:10.000000000 -0500
+++ ./src/WINNT/client_config/tab_drives.cpp 2003-11-20 14:14:57.000000000 -0500
@@ -528,8 +548,16 @@
if (IsWindowEnabled (GetDlgItem (hDlg, IDC_EDIT)))
Submounts_OnEdit (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/client_config/tab_drives.cpp.~1~ 2001-11-10 17:31:10.000000000 -0500
+++ ./src/WINNT/client_config/tab_drives.cpp 2003-11-20 14:14:57.000000000 -0500
@@ -767,12 +795,20 @@
case IDHELP:
SubEdit_DlgProc (hDlg, WM_HELP, 0, 0);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
case WM_HELP:
WinHelp (hDlg, g.szHelpFile, HELP_CONTEXT, IDH_AFSCONFIG_SUBMOUNTS_NT_ADDEDIT);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return 0;
--- ./src/WINNT/client_config/tab_general.cpp.~1~ 2001-11-10 17:31:10.000000000 -0500
+++ ./src/WINNT/client_config/tab_general.cpp 2003-11-20 14:15:21.000000000 -0500
@@ -132,6 +132,10 @@
case IDHELP:
GeneralTab_DlgProc (hDlg, WM_HELP, 0, 0);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/client_config/tab_general.cpp.~1~ 2001-11-10 17:31:10.000000000 -0500
+++ ./src/WINNT/client_config/tab_general.cpp 2003-11-20 14:15:21.000000000 -0500
@@ -141,6 +145,10 @@
else
WinHelp (hDlg, g.szHelpFile, HELP_CONTEXT, IDH_AFSCONFIG_GENERAL_95);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/client_config/tab_general.cpp.~1~ 2001-11-10 17:31:10.000000000 -0500
+++ ./src/WINNT/client_config/tab_general.cpp 2003-11-20 14:15:21.000000000 -0500
@@ -749,8 +757,16 @@
case IDINIT:
Status_OnRefresh (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/client_config/tab_hosts.cpp.~1~ 2000-11-04 05:02:40.000000000 -0500
+++ ./src/WINNT/client_config/tab_hosts.cpp 2003-11-20 14:15:13.000000000 -0500
@@ -87,6 +87,10 @@
case IDHELP:
HostsTab_DlgProc (hDlg, WM_HELP, 0, 0);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/client_config/tab_hosts.cpp.~1~ 2000-11-04 05:02:40.000000000 -0500
+++ ./src/WINNT/client_config/tab_hosts.cpp 2003-11-20 14:15:13.000000000 -0500
@@ -108,8 +112,16 @@
if (IsWindowEnabled (GetDlgItem (hDlg, IDC_EDIT)))
HostsTab_OnEdit (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/client_config/tab_hosts.cpp.~1~ 2000-11-04 05:02:40.000000000 -0500
+++ ./src/WINNT/client_config/tab_hosts.cpp 2003-11-20 14:15:13.000000000 -0500
@@ -363,6 +375,10 @@
case IDHELP:
CellEdit_DlgProc (hDlg, WM_HELP, 0, 0);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/client_config/tab_hosts.cpp.~1~ 2000-11-04 05:02:40.000000000 -0500
+++ ./src/WINNT/client_config/tab_hosts.cpp 2003-11-20 14:15:13.000000000 -0500
@@ -385,8 +401,16 @@
CellEdit_OnEdit (hDlg);
CellEdit_Enable (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/client_config/tab_hosts.cpp.~1~ 2000-11-04 05:02:40.000000000 -0500
+++ ./src/WINNT/client_config/tab_hosts.cpp 2003-11-20 14:15:13.000000000 -0500
@@ -664,6 +688,10 @@
case IDC_ADDR_LOOKUP:
EnableWindow (GetDlgItem (hDlg, IDC_SERVER), IsDlgButtonChecked (hDlg, IDC_ADDR_SPECIFIC));
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/client_config/tab_hosts.cpp.~1~ 2000-11-04 05:02:40.000000000 -0500
+++ ./src/WINNT/client_config/tab_hosts.cpp 2003-11-20 14:15:13.000000000 -0500
@@ -677,6 +705,10 @@
else
WinHelp (hDlg, g.szHelpFile, HELP_CONTEXT, IDH_AFSCONFIG_CELLPROP_SERVER_EDIT);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/client_config/tab_prefs.cpp.~1~ 2000-11-04 05:02:40.000000000 -0500
+++ ./src/WINNT/client_config/tab_prefs.cpp 2003-11-20 14:15:30.000000000 -0500
@@ -132,6 +132,10 @@
case IDHELP:
PrefsTab_DlgProc (hDlg, WM_HELP, 0, 0);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/client_config/tab_prefs.cpp.~1~ 2000-11-04 05:02:40.000000000 -0500
+++ ./src/WINNT/client_config/tab_prefs.cpp 2003-11-20 14:15:30.000000000 -0500
@@ -150,8 +154,16 @@
if (IsWindowEnabled (GetDlgItem (hDlg, IDC_EDIT)))
PrefsTab_OnEdit (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/client_config/tab_prefs.cpp.~1~ 2000-11-04 05:02:40.000000000 -0500
+++ ./src/WINNT/client_config/tab_prefs.cpp 2003-11-20 14:15:30.000000000 -0500
@@ -847,12 +859,20 @@
case IDHELP:
PrefsEdit_DlgProc (hDlg, WM_HELP, 0, 0);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
case WM_HELP:
WinHelp (hDlg, g.szHelpFile, HELP_CONTEXT, IDH_AFSCONFIG_PREFS_NT_ADDEDIT);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/client_cpa/cpl_interface.cpp.~1~ 2000-11-04 05:02:43.000000000 -0500
+++ ./src/WINNT/client_cpa/cpl_interface.cpp 2003-11-20 14:14:24.000000000 -0500
@@ -108,6 +108,10 @@
if (hinstResources)
FreeLibrary (hinstResources);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return 0;
--- ./src/WINNT/client_creds/advtab.cpp.~1~ 2001-11-21 01:44:31.000000000 -0500
+++ ./src/WINNT/client_creds/advtab.cpp 2003-11-20 14:16:57.000000000 -0500
@@ -70,12 +70,20 @@
case IDHELP:
Advanced_DlgProc (hDlg, WM_HELP, 0, 0);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
case WM_HELP:
WinHelp (hDlg, g.szHelpFile, HELP_CONTEXT, IDH_AFSCREDS_TAB_ADVANCED);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
}
--- ./src/WINNT/client_creds/advtab.cpp.~1~ 2001-11-21 01:44:31.000000000 -0500
+++ ./src/WINNT/client_creds/advtab.cpp 2003-11-20 14:16:57.000000000 -0500
@@ -208,6 +216,10 @@
ControlService (hService, SERVICE_CONTROL_STOP, &Status);
fSuccess = TRUE;
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
CloseServiceHandle (hService);
--- ./src/WINNT/client_creds/afswiz.cpp.~1~ 2001-11-10 17:31:11.000000000 -0500
+++ ./src/WINNT/client_creds/afswiz.cpp 2003-11-20 15:52:47.000000000 -0500
@@ -129,6 +129,10 @@
case IDHELP:
WizCommon_DlgProc (hDlg, WM_HELP, 0, 0);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/client_creds/afswiz.cpp.~1~ 2001-11-10 17:31:11.000000000 -0500
+++ ./src/WINNT/client_creds/afswiz.cpp 2003-11-20 15:52:47.000000000 -0500
@@ -136,6 +140,10 @@
if (l.idh)
WinHelp (GetParent(hDlg), g.szHelpFile, HELP_CONTEXT, l.idh);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
}
--- ./src/WINNT/client_creds/afswiz.cpp.~1~ 2001-11-10 17:31:11.000000000 -0500
+++ ./src/WINNT/client_creds/afswiz.cpp 2003-11-20 15:52:47.000000000 -0500
@@ -167,10 +175,22 @@
{
case wcIS_STATE_DISABLED:
return IsServiceRunning();
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/client_creds/afswiz.cpp.~1~ 2001-11-10 17:31:11.000000000 -0500
+++ ./src/WINNT/client_creds/afswiz.cpp 2003-11-20 15:52:47.000000000 -0500
@@ -205,8 +225,16 @@
{
case wcIS_STATE_DISABLED:
return IsServiceRunning();
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/client_creds/afswiz.cpp.~1~ 2001-11-10 17:31:11.000000000 -0500
+++ ./src/WINNT/client_creds/afswiz.cpp 2003-11-20 15:52:47.000000000 -0500
@@ -326,8 +354,16 @@
case IDC_NEWCREDS_PASSWORD:
WizCreds_OnEnable (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/client_creds/afswiz.cpp.~1~ 2001-11-10 17:31:11.000000000 -0500
+++ ./src/WINNT/client_creds/afswiz.cpp 2003-11-20 15:52:47.000000000 -0500
@@ -440,8 +476,16 @@
case IDC_MAP_PATH:
WizMount_OnEnable (hDlg);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/client_creds/afswiz.cpp.~1~ 2001-11-10 17:31:11.000000000 -0500
+++ ./src/WINNT/client_creds/afswiz.cpp 2003-11-20 15:52:47.000000000 -0500
@@ -585,10 +629,22 @@
return FALSE;
}
return TRUE;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/client_creds/afswiz.cpp.~1~ 2001-11-10 17:31:11.000000000 -0500
+++ ./src/WINNT/client_creds/afswiz.cpp 2003-11-20 15:52:47.000000000 -0500
@@ -675,8 +731,16 @@
case IDNEXT:
g.pWizard->Show (FALSE);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/client_creds/credstab.cpp.~1~ 2000-11-04 05:02:46.000000000 -0500
+++ ./src/WINNT/client_creds/credstab.cpp 2003-11-20 14:17:48.000000000 -0500
@@ -69,6 +69,10 @@
case IDHELP:
Creds_DlgProc (hDlg, WM_HELP, 0, 0);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/client_creds/credstab.cpp.~1~ 2000-11-04 05:02:46.000000000 -0500
+++ ./src/WINNT/client_creds/credstab.cpp 2003-11-20 14:17:48.000000000 -0500
@@ -80,6 +84,10 @@
else // (!IsServiceRunning())
WinHelp (hDlg, g.szHelpFile, HELP_CONTEXT, IDH_AFSCREDS_TAB_NOTOKENS_STOPPED);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/client_creds/credstab.cpp.~1~ 2000-11-04 05:02:46.000000000 -0500
+++ ./src/WINNT/client_creds/credstab.cpp 2003-11-20 14:17:48.000000000 -0500
@@ -241,12 +249,20 @@
case IDHELP:
NewCreds_DlgProc (hDlg, WM_HELP, 0, 0);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
case WM_HELP:
WinHelp (hDlg, g.szHelpFile, HELP_CONTEXT, IDH_AFSCREDS_NEWTOKENS);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
}
--- ./src/WINNT/client_creds/main.cpp.~1~ 2002-01-08 15:44:41.000000000 -0500
+++ ./src/WINNT/client_creds/main.cpp 2003-11-20 14:40:27.000000000 -0500
@@ -135,6 +134,10 @@
DoMapShare();
GlobalMountDrive();
return 0;
+
+ default:
+ /* keep lint happy */
+ break;
}
while (*pszCmdLineA && (*pszCmdLineA != ' '))
--- ./src/WINNT/client_creds/mounttab.cpp.~1~ 2000-11-04 05:02:47.000000000 -0500
+++ ./src/WINNT/client_creds/mounttab.cpp 2003-11-20 14:17:55.000000000 -0500
@@ -91,12 +91,20 @@
case IDHELP:
Mount_DlgProc (hDlg, WM_HELP, 0, 0);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
case WM_HELP:
WinHelp (hDlg, g.szHelpFile, HELP_CONTEXT, IDH_AFSCREDS_TAB_DRIVES);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
}
--- ./src/WINNT/client_creds/mounttab.cpp.~1~ 2000-11-04 05:02:47.000000000 -0500
+++ ./src/WINNT/client_creds/mounttab.cpp 2003-11-20 14:17:55.000000000 -0500
@@ -369,12 +377,20 @@
case IDHELP:
Mapping_DlgProc (hDlg, WM_HELP, 0, 0);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
case WM_HELP:
WinHelp (hDlg, g.szHelpFile, HELP_CONTEXT, IDH_AFSCREDS_MAPDRIVE);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
}
--- ./src/WINNT/client_creds/window.cpp.~1~ 2000-11-04 05:02:48.000000000 -0500
+++ ./src/WINNT/client_creds/window.cpp 2003-11-20 14:18:08.000000000 -0500
@@ -123,6 +123,10 @@
case M_REMIND:
Main_OnCheckMenuRemind();
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/client_creds/window.cpp.~1~ 2000-11-04 05:02:48.000000000 -0500
+++ ./src/WINNT/client_creds/window.cpp 2003-11-20 14:18:08.000000000 -0500
@@ -136,6 +140,10 @@
case TCN_SELCHANGE:
Main_OnSelectTab();
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/client_creds/window.cpp.~1~ 2000-11-04 05:02:48.000000000 -0500
+++ ./src/WINNT/client_creds/window.cpp 2003-11-20 14:18:08.000000000 -0500
@@ -180,8 +188,16 @@
case WM_MOUSEMOVE:
Main_OnMouseOver();
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/client_creds/window.cpp.~1~ 2000-11-04 05:02:48.000000000 -0500
+++ ./src/WINNT/client_creds/window.cpp 2003-11-20 14:18:08.000000000 -0500
@@ -599,8 +615,16 @@
case IDCANCEL:
EndDialog (hDlg, IDCANCEL);
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
return FALSE;
--- ./src/WINNT/talocale/tal_alloc.cpp.~1~ 2003-08-25 14:24:27.000000000 -0400
+++ ./src/WINNT/talocale/tal_alloc.cpp 2003-11-20 14:20:31.000000000 -0500
@@ -680,6 +680,9 @@
case 3: pszKey = (LPTSTR)szLocation; break;
case 4: pszKey = (LPTSTR)pCopy->cbData; break;
case 5: pszKey = (LPTSTR)pCopy->pData; break;
+ default:
+ /* keep lint happy */
+ break;
}
LV_ITEM Item;
--- ./src/WINNT/talocale/tal_alloc.cpp.~1~ 2003-08-25 14:24:27.000000000 -0400
+++ ./src/WINNT/talocale/tal_alloc.cpp 2003-11-20 14:20:31.000000000 -0500
@@ -1053,6 +1056,9 @@
MemMgr_OnSort();
MemMgr_StoreSettings();
break;
+ default:
+ /* keep lint happy */
+ break;
}
break;
--- ./src/WINNT/talocale/tal_alloc.cpp.~1~ 2003-08-25 14:24:27.000000000 -0400
+++ ./src/WINNT/talocale/tal_alloc.cpp 2003-11-20 14:20:31.000000000 -0500
@@ -1104,8 +1110,14 @@
case IDC_LIST_REMOVE:
MemMgr_OnListRemove ((PVOID)lp);
break;
+ default:
+ /* keep lint happy */
+ break;
}
break;
+ default:
+ /* keep lint happy */
+ break;
}
return DefWindowProc (hDlg, msg, wp, lp);
--- ./src/WINNT/talocale/tal_main.cpp.~1~ 2000-11-04 05:03:07.000000000 -0500
+++ ./src/WINNT/talocale/tal_main.cpp 2003-11-20 13:55:42.000000000 -0500
@@ -138,6 +138,10 @@
case LANG_PORTUGUESE:
return MAKELANGID(LANG_PORTUGUESE,SUBLANG_PORTUGUESE_BRAZILIAN);
+
+ default:
+ /* keep lint happy */
+ break;
}
return lang;
--- ./src/WINNT/talocale/tal_string.cpp.~1~ 2000-11-04 05:03:07.000000000 -0500
+++ ./src/WINNT/talocale/tal_string.cpp 2003-11-20 16:08:31.000000000 -0500
@@ -474,6 +474,10 @@
vt = vtADDRESS;
*(LPTSTR)(lstrchr(szFmt, *pszFmt)) = TEXT('s'); // prints as %s
break;
+
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/WINNT/talocale/tal_string.cpp.~1~ 2000-11-04 05:03:07.000000000 -0500
+++ ./src/WINNT/talocale/tal_string.cpp 2003-11-20 16:08:31.000000000 -0500
@@ -581,6 +585,11 @@
arg_ldw = va_arg (arg, LARGE_INTEGER*);
cch = cchMaxNUMBER * 2;
break;
+
+ case vtINVALID:
+ default:
+ /* keep lint happy */
+ break;
}
//
--- ./src/WINNT/talocale/tal_string.cpp.~1~ 2000-11-04 05:03:07.000000000 -0500
+++ ./src/WINNT/talocale/tal_string.cpp 2003-11-20 16:08:31.000000000 -0500
@@ -645,6 +654,11 @@
case vtLARGEINT:
FormatLargeInt (apszArgs[ argno ], szFmt, arg_ldw);
break;
+
+ case vtINVALID:
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/budb/procs.c.~1~ 2003-07-15 19:14:48.000000000 -0400
+++ ./src/budb/procs.c 2003-11-20 14:51:07.000000000 -0500
@@ -3572,6 +3567,9 @@
case HT_volName_FUNCTION:
fprintf(DUMP, "%s\n", ((struct volInfo *)e)->name);
break;
+ default:
+ /* keep lint happy */
+ break;
}
if ((ht_HashEntry(mht, e) % length) != hash)
ABORT(BUDB_DATABASEINCONSISTENT);
--- ./src/budb/procs.c.~1~ 2003-07-15 19:14:48.000000000 -0400
+++ ./src/budb/procs.c 2003-11-20 14:51:07.000000000 -0500
@@ -3968,6 +3966,10 @@
entryAddr = hostVolInfo.nameHashChain;
break;
}
+
+ default:
+ /* keep lint happy */
+ break;
}
}
}
--- ./src/kauth/admin_tools.c.~1~ 2003-07-15 19:15:16.000000000 -0400
+++ ./src/kauth/admin_tools.c 2003-11-20 14:30:18.000000000 -0500
@@ -313,6 +310,9 @@
case RX_CALL_TIMEOUT:
printf(" (retrying)\n");
return 0;
+ default:
+ /* keep lint happy */
+ break;
}
printf("\n");
--- ./src/kauth/client.c.~1~ 2003-07-15 19:15:16.000000000 -0400
+++ ./src/kauth/client.c 2003-11-20 13:50:59.000000000 -0500
@@ -278,6 +278,9 @@
return KABADNAME;
cell[j++] = c;
break;
+ default:
+ /* keep lint happy */
+ break;
}
i++;
}
--- ./src/libacl/aclprocs.c.~1~ 2003-07-15 19:15:18.000000000 -0400
+++ ./src/libacl/aclprocs.c 2003-11-20 13:50:53.000000000 -0500
@@ -402,6 +402,9 @@
case 1:
c += 1;
break;
+ default:
+ /* keep lint happy */
+ break;
}
*rights = temprights & (~negrights);
return (0);
--- ./src/libadmin/vos/afs_vosAdmin.c.~1~ 2003-07-15 19:15:36.000000000 -0400
+++ ./src/libadmin/vos/afs_vosAdmin.c 2003-11-20 14:37:15.000000000 -0500
@@ -1562,6 +1560,9 @@
case ITCreateVolID:
t->tran[slot].volumeAttachMode = VOS_VOLUME_ATTACH_MODE_CREATE_VOLID;
break;
+ default:
+ /* keep lint happy */
+ break;
}
t->tran[slot].volumeActiveStatus = VOS_VOLUME_ACTIVE_STATUS_OK;
--- ./src/libadmin/vos/afs_vosAdmin.c.~1~ 2003-07-15 19:15:36.000000000 -0400
+++ ./src/libadmin/vos/afs_vosAdmin.c 2003-11-20 14:37:15.000000000 -0500
@@ -1578,6 +1579,9 @@
case VTDeleted:
t->tran[slot].volumeActiveStatus = VOS_VOLUME_ACTIVE_STATUS_DELETED;
break;
+ default:
+ /* keep lint happy */
+ break;
}
t->tran[slot].volumeTransactionStatus = VOS_VOLUME_TRANSACTION_STATUS_OK;
--- ./src/libadmin/vos/afs_vosAdmin.c.~1~ 2003-07-15 19:15:36.000000000 -0400
+++ ./src/libadmin/vos/afs_vosAdmin.c 2003-11-20 14:37:15.000000000 -0500
@@ -3539,6 +3543,9 @@
case VMOVED:
dest->status = VOS_MOVED;
break;
+ default:
+ /* keep lint happy */
+ break;
}
/*
--- ./src/ptserver/testpt.c.~1~ 2003-07-15 19:16:03.000000000 -0400
+++ ./src/ptserver/testpt.c 2003-11-20 14:29:54.000000000 -0500
@@ -313,6 +312,9 @@
owner = lastGroup;
ownerName = lastGroupPrefix;
break;
+ default:
+ /* keep lint happy */
+ break;
}
sprintf(name, "%s:%s%d", ownerName, createPrefix, g);
--- ./src/vlserver/vlclient.c.~1~ 2003-07-15 19:17:34.000000000 -0400
+++ ./src/vlserver/vlclient.c 2003-11-20 15:26:46.000000000 -0500
@@ -228,6 +226,10 @@
sc = rxkad_NewClientSecurityObject(rxkad_clear, &ttoken.sessionKey,
ttoken.kvno, ttoken.ticketLen,
ttoken.ticket);
+ break;
+ default:
+ /* keep lint happy */
+ break;
}
if (!server) {
code = afsconf_GetCellInfo(tdir, NULL, AFSCONF_VLDBSERVICE, &info);
--- ./src/vol/vnode.c.~1~ 2003-07-15 19:17:40.000000000 -0400
+++ ./src/vol/vnode.c 2003-11-20 13:52:55.000000000 -0500
@@ -195,6 +195,9 @@
vcp->diskSize = SIZEOF_LARGEDISKVNODE;
vcp->magic = LARGEVNODEMAGIC;
break;
+ default:
+ /* keep lint happy */
+ break;
}
{
int s = vcp->diskSize - 1;
--- ./src/volser/dumpstuff.c.~1~ 2003-08-25 22:59:20.000000000 -0400
+++ ./src/volser/dumpstuff.c 2003-11-20 13:53:35.000000000 -0500
@@ -367,6 +367,9 @@
if (!ReadInt32(iodp, (afs_uint32 *) & vol->dayUse))
return VOLSERREAD_DUMPERROR;
break;
+ default:
+ /* keep lint happy */
+ break;
}
}
iod_ungetc(iodp, tag);
--- ./src/volser/dumpstuff.c.~1~ 2003-08-25 22:59:20.000000000 -0400
+++ ./src/volser/dumpstuff.c 2003-11-20 13:53:35.000000000 -0500
@@ -1173,13 +1176,15 @@
FDH_REALLYCLOSE(fdP);
IH_RELEASE(tmpH);
if (error) {
- Log("1 Volser: ReadVnodes: IDEC inode %llu\n",
- (afs_uintmax_t) ino);
+ Log("1 Volser: ReadVnodes: IDEC inode %s\n", PrintInode(NULL, ino));
IH_DEC(V_linkHandle(vp), ino, V_parentId(vp));
return VOLSERREAD_DUMPERROR;
}
break;
}
+ default:
+ /* keep lint happy */
+ break;
}
}
--- ./src/volser/dumpstuff.c.~1~ 2003-08-25 22:59:20.000000000 -0400
+++ ./src/volser/dumpstuff.c 2003-11-20 13:53:35.000000000 -0500
@@ -1337,6 +1342,9 @@
|| !ReadInt32(iodp, (afs_uint32 *) & hp->dumpTimes[i].to))
return 0;
break;
+ default:
+ /* keep lint happy */
+ break;
}
}
if (!hp->volumeId || !hp->nDumpTimes) {
--- ./src/volser/vos.c.~1~ 2003-11-12 15:42:04.000000000 -0500
+++ ./src/volser/vos.c 2003-11-20 14:33:44.000000000 -0500
@@ -3325,18 +3303,25 @@
case ITCreateVolID:
fprintf(STDOUT, "create volid ");
break;
+ default:
+ /* keep lint happy */
+ break;
}
fprintf(STDOUT, "\n");
}
if (pntr->vflags) {
fprintf(STDOUT, "volumeStatus: ");
switch (pntr->vflags) {
+ /* FIXME: are these supposed to fall through? */
case VTDeleteOnSalvage:
fprintf(STDOUT, "deleteOnSalvage ");
case VTOutOfService:
fprintf(STDOUT, "outOfService ");
case VTDeleted:
fprintf(STDOUT, "deleted ");
+ default:
+ /* keep lint happy */
+ break;
}
fprintf(STDOUT, "\n");
}
--- ./src/WINNT/afsadmsvr/TaAfsAdmSvrGeneral.cpp.~1~ 2000-11-04 05:01:16.000000000 -0500
+++ ./src/WINNT/afsadmsvr/TaAfsAdmSvrGeneral.cpp 2003-11-20 16:15:16.000000000 -0500
@@ -529,6 +529,7 @@
case ACTION_CELL_CHANGE:
wsprintf (szDesc, TEXT("ChangeCell (cell=0x%08lX)"), l.aOperations[ iOp ].pAction->idCell);
break;
+ case ACTION_GROUP_CREATE: /* FIXME: this was added because it was missing */
default:
wsprintf (szDesc, TEXT("Unknown Action (#%lu)"), l.aOperations[ iOp ].pAction->Action);
break;
--- ./src/WINNT/afsadmsvr/TaAfsAdmSvrGeneral.cpp.~1~ 2000-11-04 05:01:16.000000000 -0500
+++ ./src/WINNT/afsadmsvr/TaAfsAdmSvrGeneral.cpp 2003-11-20 16:15:16.000000000 -0500
@@ -637,6 +638,12 @@
(void)AfsAdmSvr_BeginOperation (0, &Action);
break;
+ case itUNUSED:
+ case itSERVICE:
+ case itAGGREGATE:
+ case itFILESET:
+ case itUSER:
+ case itGROUP:
default:
// Don't bother listing status-refreshes as ongoing operations
// for any granularity smaller than the server; they'll occur
--- ./src/WINNT/afsadmsvr/TaAfsAdmSvrProperties.cpp.~1~ 2000-11-04 05:01:16.000000000 -0500
+++ ./src/WINNT/afsadmsvr/TaAfsAdmSvrProperties.cpp 2003-11-20 16:20:45.000000000 -0500
@@ -229,6 +229,7 @@
lpi->GetGroupName (pProperties->szName);
break;
+ case itUNUSED:
default:
pProperties->verProperties = verPROP_NO_OBJECT;
return;
--- ./src/WINNT/afsadmsvr/TaAfsAdmSvrProperties.cpp.~1~ 2000-11-04 05:01:16.000000000 -0500
+++ ./src/WINNT/afsadmsvr/TaAfsAdmSvrProperties.cpp 2003-11-20 16:20:45.000000000 -0500
@@ -611,6 +739,7 @@
lpGroup->Close();
break;
+ case itUNUSED:
default:
return (LPASOBJPROP)FALSE_(ERROR_INVALID_PARAMETER,pStatus);
}
--- ./src/WINNT/afsadmsvr/TaAfsAdmSvrProperties.cpp.~1~ 2000-11-04 05:01:16.000000000 -0500
+++ ./src/WINNT/afsadmsvr/TaAfsAdmSvrProperties.cpp 2003-11-20 16:20:45.000000000 -0500
@@ -685,6 +814,7 @@
lpGroup->Close();
break;
+ case itUNUSED:
default:
return FALSE_(ERROR_INVALID_PARAMETER,pStatus);
}
--- ./src/WINNT/afsadmsvr/TaAfsAdmSvrSearch.cpp.~1~ 2000-11-04 05:01:17.000000000 -0500
+++ ./src/WINNT/afsadmsvr/TaAfsAdmSvrSearch.cpp 2003-11-20 16:22:43.000000000 -0500
@@ -90,6 +90,7 @@
case itGROUP:
lpi->GetGroupName (szName);
break;
+ case itUNUSED:
default:
return FALSE;
}
--- ./src/WINNT/afsadmsvr/TaAfsAdmSvrSearch.cpp.~1~ 2000-11-04 05:01:17.000000000 -0500
+++ ./src/WINNT/afsadmsvr/TaAfsAdmSvrSearch.cpp 2003-11-20 16:22:43.000000000 -0500
@@ -137,6 +138,11 @@
lpServer->RefreshAggregates();
break;
+ case TYPE_CELL:
+ case TYPE_SERVER:
+ case TYPE_USER:
+ case TYPE_GROUP:
+ case TYPE_ANY:
default:
lpServer->RefreshAll();
break;
--- ./src/WINNT/afssvrcfg/validation.cpp.~1~ 2000-11-04 05:01:54.000000000 -0500
+++ ./src/WINNT/afssvrcfg/validation.cpp 2003-11-20 16:38:32.000000000 -0500
@@ -63,6 +59,8 @@
case VALID_AFS_SERVER_NAME: bValid = CheckAfsServerName(pszInput, nErrorMsgResID);
break;
+ case VALID_FILENAME: /* FIXME: these were added because they were missing */
+ case VALID_PATH:
default: nErrorMsgResID = 0;
ASSERT(FALSE);
return FALSE;
--- ./src/WINNT/afssvrmgr/action.cpp.~1~ 2000-11-04 05:02:00.000000000 -0500
+++ ./src/WINNT/afssvrmgr/action.cpp 2003-11-19 14:35:37.000000000 -0500
@@ -326,6 +326,58 @@
case evtOpenCellBegin: Action_OpenCell_Begin (pParams); break;
case evtOpenCellEnd: Action_OpenCell_End (pParams); break;
+ case evtCreate:
+ case evtDestroy:
+ case evtInvalidate:
+ case evtRefreshStatusBegin:
+ case evtRefreshStatusEnd:
+ case evtRefreshServersBegin:
+ case evtRefreshServersEnd:
+ case evtRefreshServicesBegin:
+ case evtRefreshServicesEnd:
+ case evtRefreshAggregatesBegin:
+ case evtRefreshAggregatesEnd:
+ case evtRefreshFilesetsBegin:
+ case evtRefreshFilesetsEnd:
+ case evtRefreshUsersBegin:
+ case evtRefreshUsersEnd:
+ case evtGetRestartTimesBegin:
+ case evtGetRestartTimesEnd:
+ case evtKeyListLoadBegin:
+ case evtKeyListLoadEnd:
+ case evtLockFilesetBegin:
+ case evtLockFilesetEnd:
+ case evtUnlockFilesetBegin:
+ case evtUnlockFilesetEnd:
+ case evtUnlockAllFilesetsBegin:
+ case evtUnlockAllFilesetsEnd:
+ case evtSetFilesetOwnerGroupBegin:
+ case evtSetFilesetOwnerGroupEnd:
+ case evtSetFilesetPermissionsBegin:
+ case evtSetFilesetPermissionsEnd:
+ case evtCreateUserBegin:
+ case evtCreateUserEnd:
+ case evtChangeUserBegin:
+ case evtChangeUserEnd:
+ case evtChangeUserPasswordBegin:
+ case evtChangeUserPasswordEnd:
+ case evtDeleteUserBegin:
+ case evtDeleteUserEnd:
+ case evtUnlockUserBegin:
+ case evtUnlockUserEnd:
+ case evtCreateGroupBegin:
+ case evtCreateGroupEnd:
+ case evtChangeGroupBegin:
+ case evtChangeGroupEnd:
+ case evtRenameGroupBegin:
+ case evtRenameGroupEnd:
+ case evtDeleteGroupBegin:
+ case evtDeleteGroupEnd:
+ case evtGroupMemberAddBegin:
+ case evtGroupMemberAddEnd:
+ case evtGroupMemberRemoveBegin:
+ case evtGroupMemberRemoveEnd:
+ case evtUser:
default:
fRefresh = FALSE;
}
--- ./src/WINNT/afssvrmgr/action.cpp.~1~ 2000-11-04 05:02:00.000000000 -0500
+++ ./src/WINNT/afssvrmgr/action.cpp 2003-11-19 14:35:37.000000000 -0500
@@ -863,6 +926,39 @@
// don't show confirmation messages for these operations
break;
+ case atOPENCELL:
+ case atGETSERVERLOGFILE:
+ case atSETSERVERAUTH:
+ case atSTARTSERVICE:
+ case atSTOPSERVICE:
+ case atRESTARTSERVICE:
+ case atCREATEFILESET:
+ case atDELETEFILESET:
+ case atMOVEFILESET:
+ case atSETFILESETQUOTA:
+ case atSYNCVLDB:
+ case atSALVAGE:
+ case atSETFILESETREPPARAMS:
+ case atCREATEREPLICA:
+ case atPRUNEFILES:
+ case atINSTALLFILE:
+ case atUNINSTALLFILE:
+ case atRENAMEFILESET:
+ case atCREATESERVICE:
+ case atDELETESERVICE:
+ case atRELEASEFILESET:
+ case atGETFILEDATES:
+ case atEXECUTECOMMAND:
+ case atADMINLIST_LOAD:
+ case atADMINLIST_SAVE:
+ case atHOSTLIST_LOAD:
+ case atHOSTLIST_SAVE:
+ case atCLONE:
+ case atCLONESYS:
+ case atDUMP:
+ case atRESTORE:
+ case atSETRESTART:
+ case atCHANGEADDR:
default:
LPTSTR pszDesc;
if ((pszDesc = Action_GetDescription (ii)) != NULL)
--- ./src/libadmin/test/vos.c.~1~ 2003-08-08 17:54:41.000000000 -0400
+++ ./src/libadmin/test/vos.c 2003-11-20 16:07:23.000000000 -0500
@@ -1326,6 +1326,7 @@
case VOS_MOVED:
printf("%s\tVOS_MOVED\n", prefix);
break;
+ case VOS_OK: /* FIXME: probably does not belong here, added because it was missing */
default:
printf("Unknown volume status %d\n", entry->status);
break;
--- ./src/rx/xdr.c.~1~ 2003-07-15 19:16:12.000000000 -0400
+++ ./src/rx/xdr.c 2003-11-18 13:15:32.000000000 -0500
@@ -537,6 +538,9 @@
case XDR_ENCODE:
size = strlen(sp);
break;
+ case XDR_DECODE:
+ /* added for lint */
+ break;
}
if (!xdr_u_int(xdrs, &size)) {
--- ./src/rx/xdr_array.c.~1~ 2003-07-15 19:16:12.000000000 -0400
+++ ./src/rx/xdr_array.c 2003-11-18 13:13:30.000000000 -0500
@@ -118,6 +119,10 @@
case XDR_FREE:
return (TRUE);
+
+ case XDR_ENCODE:
+ /* added for lint */
+ break;
}
/*
--- ./src/rx/xdr_rec.c.~1~ 2003-07-15 19:16:13.000000000 -0400
+++ ./src/rx/xdr_rec.c 2003-11-18 09:47:26.000000000 -0500
@@ -300,7 +300,7 @@
pos -= rstrm->in_boundry - rstrm->in_finger;
break;
- default:
+ case XDR_FREE:
pos = (u_int) - 1;
break;
}
--- ./src/rx/xdr_rec.c.~1~ 2003-07-15 19:16:13.000000000 -0400
+++ ./src/rx/xdr_rec.c 2003-11-18 09:47:26.000000000 -0500
@@ -336,6 +336,10 @@
return (TRUE);
}
break;
+
+ case XDR_FREE:
+ /* added for lint */
+ break;
}
return (FALSE);
}
--- ./src/rx/xdr_rec.c.~1~ 2003-07-15 19:16:13.000000000 -0400
+++ ./src/rx/xdr_rec.c 2003-11-18 09:47:26.000000000 -0500
@@ -363,6 +367,10 @@
rstrm->in_finger += len;
}
break;
+
+ case XDR_FREE:
+ /* added for lint */
+ break;
}
return (buf);
}
--- ./src/rx/xdr_refernce.c.~1~ 2003-07-15 19:16:13.000000000 -0400
+++ ./src/rx/xdr_refernce.c 2003-11-18 09:37:37.000000000 -0500
@@ -78,6 +78,10 @@
}
memset(loc, 0, (int)size);
break;
+
+ case XDR_ENCODE:
+ /* added for lint */
+ break;
}
stat = (*proc) (xdrs, loc, LASTUNSIGNED);
--- ./src/rxgen/rpc_cout.c.~1~ 2003-07-15 19:16:39.000000000 -0400
+++ ./src/rxgen/rpc_cout.c 2003-11-18 09:30:16.000000000 -0500
@@ -98,6 +98,22 @@
case DEF_TYPEDEF:
emit_typedef(def);
break;
+ case DEF_INPARAM:
+ case DEF_OUTPARAM:
+ case DEF_INOUTPARAM:
+ case DEF_PACKAGE:
+ case DEF_PREFIX:
+ case DEF_PARAM:
+ case DEF_SPECIAL:
+ case DEF_STARTINGOPCODE:
+ case DEF_CUSTOMIZED:
+ case DEF_SPLITPREFIX:
+ case DEF_PROC:
+ case DEF_NULL:
+ case DEF_CONST:
+ case DEF_PROGRAM:
+ /* added for lint; are these cases supposed to do anything? */
+ break;
}
print_trailer();
}
--- ./src/rxgen/rpc_cout.c.~1~ 2003-07-15 19:16:39.000000000 -0400
+++ ./src/rxgen/rpc_cout.c 2003-11-18 09:30:16.000000000 -0500
@@ -384,6 +400,11 @@
f_print(fout, "\t%s%s *%s_val;\n", prefix, dec->type, dec->name);
f_print(fout, "} %s", dec->name);
break;
+ case REL_VECTOR:
+ case REL_POINTER:
+ case REL_ALIAS:
+ /* added for lint; are these cases supposed to do anything? */
+ break;
}
f_print(fout, ";\n");
f_print(fout, "bool_t xdr_%s(XDR *xdrs, %s *objp);\n", dec->name,
--- ./src/rxgen/rpc_hout.c.~1~ 2003-07-15 19:16:40.000000000 -0400
+++ ./src/rxgen/rpc_hout.c 2003-11-18 09:28:45.000000000 -0500
@@ -102,6 +102,18 @@
case DEF_CONST:
pconstdef(def);
break;
+ case DEF_INPARAM:
+ case DEF_OUTPARAM:
+ case DEF_INOUTPARAM:
+ case DEF_PACKAGE:
+ case DEF_PREFIX:
+ case DEF_PARAM:
+ case DEF_SPECIAL:
+ case DEF_STARTINGOPCODE:
+ case DEF_SPLITPREFIX:
+ case DEF_NULL:
+ /* added for lint; are these cases supposed to do anything? */
+ break;
}
if (def->def_kind != DEF_PROGRAM && def->def_kind != DEF_CONST
&& (!IsRxgenDefinition(def))) {
--- ./src/rxgen/rpc_hout.c.~1~ 2003-07-15 19:16:40.000000000 -0400
+++ ./src/rxgen/rpc_hout.c 2003-11-18 09:28:45.000000000 -0500
@@ -242,6 +254,23 @@
case DEF_INOUTPARAM:
f_print(fout, ",\n\t/*I/O*/ ");
break;
+ case DEF_PACKAGE:
+ case DEF_PREFIX:
+ case DEF_PARAM:
+ case DEF_SPECIAL:
+ case DEF_STARTINGOPCODE:
+ case DEF_CUSTOMIZED:
+ case DEF_SPLITPREFIX:
+ case DEF_PROC:
+ case DEF_NULL:
+ case DEF_CONST:
+ case DEF_STRUCT:
+ case DEF_UNION:
+ case DEF_ENUM:
+ case DEF_TYPEDEF:
+ case DEF_PROGRAM:
+ /* added for lint; are these cases supposed to do anything? */
+ break;
}
if (plist->pl.param_flag & OUT_STRING) {
f_print(fout, "%s *%s", plist->pl.param_type,
--- ./src/rxgen/rpc_parse.c.~1~ 2003-07-15 19:16:41.000000000 -0400
+++ ./src/rxgen/rpc_parse.c 2003-11-18 11:36:02.000000000 -0500
@@ -228,6 +229,40 @@
unget_token(&tok);
check_proc(defp, &tok, 1);
break;
+ case TOK_STRCONST:
+ case TOK_RPAREN:
+ case TOK_LBRACE:
+ case TOK_RBRACE:
+ case TOK_LBRACKET:
+ case TOK_RBRACKET:
+ case TOK_LANGLE:
+ case TOK_RANGLE:
+ case TOK_STAR:
+ case TOK_COMMA:
+ case TOK_EQUAL:
+ case TOK_COLON:
+ case TOK_SEMICOLON:
+ case TOK_SWITCH:
+ case TOK_CASE:
+ case TOK_DEFAULT:
+ case TOK_INT:
+ case TOK_SHORT:
+ case TOK_INT32:
+ case TOK_UNSIGNED:
+ case TOK_FLOAT:
+ case TOK_DOUBLE:
+ case TOK_OPAQUE:
+ case TOK_CHAR:
+ case TOK_STRING:
+ case TOK_BOOL:
+ case TOK_VOID:
+ case TOK_VERSION:
+ case TOK_SPLIT:
+ case TOK_MULTI:
+ case TOK_IN:
+ case TOK_OUT:
+ case TOK_INOUT:
+ case TOK_AFSUUID:
default:
error("definition keyword expected");
}
--- ./src/rxgen/rpc_parse.c.~1~ 2003-07-15 19:16:41.000000000 -0400
+++ ./src/rxgen/rpc_parse.c 2003-11-18 11:36:02.000000000 -0500
@@ -527,6 +562,41 @@
case TOK_AFSUUID:
*typep = tok.str;
break;
+ case TOK_STRCONST:
+ case TOK_LPAREN:
+ case TOK_RPAREN:
+ case TOK_LBRACE:
+ case TOK_RBRACE:
+ case TOK_LBRACKET:
+ case TOK_RBRACKET:
+ case TOK_LANGLE:
+ case TOK_RANGLE:
+ case TOK_STAR:
+ case TOK_COMMA:
+ case TOK_EQUAL:
+ case TOK_COLON:
+ case TOK_SEMICOLON:
+ case TOK_CONST:
+ case TOK_SWITCH:
+ case TOK_CASE:
+ case TOK_DEFAULT:
+ case TOK_TYPEDEF:
+ case TOK_PROGRAM:
+ case TOK_VERSION:
+ case TOK_PACKAGE:
+ case TOK_PREFIX:
+ case TOK_STATINDEX:
+ case TOK_SPECIAL:
+ case TOK_STARTINGOPCODE:
+ case TOK_CUSTOMIZED:
+ case TOK_PROC:
+ case TOK_SPLITPREFIX:
+ case TOK_SPLIT:
+ case TOK_MULTI:
+ case TOK_IN:
+ case TOK_OUT:
+ case TOK_INOUT:
+ case TOK_EOF:
default:
error("expected type specifier");
}
--- ./src/rxgen/rpc_parse.c.~1~ 2003-07-15 19:16:41.000000000 -0400
+++ ./src/rxgen/rpc_parse.c 2003-11-18 11:36:02.000000000 -0500
@@ -558,7 +628,57 @@
get_token(&tok);
*typep = "u_int";
break;
+ case TOK_IDENT:
+ case TOK_STRCONST:
+ case TOK_LPAREN:
+ case TOK_RPAREN:
+ case TOK_LBRACE:
+ case TOK_RBRACE:
+ case TOK_LBRACKET:
+ case TOK_RBRACKET:
+ case TOK_LANGLE:
+ case TOK_RANGLE:
+ case TOK_STAR:
+ case TOK_COMMA:
+ case TOK_EQUAL:
+ case TOK_COLON:
+ case TOK_SEMICOLON:
+ case TOK_CONST:
+ case TOK_STRUCT:
+ case TOK_UNION:
+ case TOK_SWITCH:
+ case TOK_CASE:
+ case TOK_DEFAULT:
+ case TOK_ENUM:
+ case TOK_TYPEDEF:
+ case TOK_UNSIGNED:
+ case TOK_FLOAT:
+ case TOK_DOUBLE:
+ case TOK_OPAQUE:
+ case TOK_STRING:
+ case TOK_BOOL:
+ case TOK_VOID:
+ case TOK_PROGRAM:
+ case TOK_VERSION:
+ case TOK_PACKAGE:
+ case TOK_PREFIX:
+ case TOK_STATINDEX:
+ case TOK_SPECIAL:
+ case TOK_STARTINGOPCODE:
+ case TOK_CUSTOMIZED:
+ case TOK_PROC:
+ case TOK_SPLITPREFIX:
+ case TOK_SPLIT:
+ case TOK_MULTI:
+ case TOK_IN:
+ case TOK_OUT:
+ case TOK_INOUT:
+ case TOK_AFSUUID:
+ case TOK_EOF:
default:
+ /* The above long list was determined with lint; it is not
+ * clear to me whether the "default" case code here is making
+ * a hidden assumption about which cases are actually valid. */
*typep = "u_int";
break;
}
--- ./src/rxgen/rpc_parse.c.~1~ 2003-07-15 19:16:41.000000000 -0400
+++ ./src/rxgen/rpc_parse.c 2003-11-18 11:36:02.000000000 -0500
@@ -661,6 +781,54 @@
break;
case TOK_SEMICOLON:
break;
+ case TOK_IDENT:
+ case TOK_STRCONST:
+ case TOK_LPAREN:
+ case TOK_RPAREN:
+ case TOK_LBRACE:
+ case TOK_RBRACE:
+ case TOK_LBRACKET:
+ case TOK_RBRACKET:
+ case TOK_LANGLE:
+ case TOK_RANGLE:
+ case TOK_STAR:
+ case TOK_COMMA:
+ case TOK_EQUAL:
+ case TOK_COLON:
+ case TOK_CONST:
+ case TOK_STRUCT:
+ case TOK_UNION:
+ case TOK_SWITCH:
+ case TOK_CASE:
+ case TOK_DEFAULT:
+ case TOK_ENUM:
+ case TOK_TYPEDEF:
+ case TOK_INT:
+ case TOK_SHORT:
+ case TOK_INT32:
+ case TOK_UNSIGNED:
+ case TOK_FLOAT:
+ case TOK_DOUBLE:
+ case TOK_OPAQUE:
+ case TOK_CHAR:
+ case TOK_STRING:
+ case TOK_BOOL:
+ case TOK_VOID:
+ case TOK_PROGRAM:
+ case TOK_VERSION:
+ case TOK_PACKAGE:
+ case TOK_PREFIX:
+ case TOK_STATINDEX:
+ case TOK_SPECIAL:
+ case TOK_STARTINGOPCODE:
+ case TOK_CUSTOMIZED:
+ case TOK_PROC:
+ case TOK_SPLITPREFIX:
+ case TOK_SPLIT:
+ case TOK_MULTI:
+ case TOK_INOUT:
+ case TOK_AFSUUID:
+ case TOK_EOF:
default:
error("syntax error in the 'splitprefix' line");
}
--- ./src/rxgen/rpc_parse.c.~1~ 2003-07-15 19:16:41.000000000 -0400
+++ ./src/rxgen/rpc_parse.c 2003-11-18 11:36:02.000000000 -0500
@@ -893,7 +1061,57 @@
break;
case TOK_RPAREN:
break;
+ case TOK_IDENT:
+ case TOK_STRCONST:
+ case TOK_LPAREN:
+ case TOK_LBRACE:
+ case TOK_RBRACE:
+ case TOK_LBRACKET:
+ case TOK_RBRACKET:
+ case TOK_LANGLE:
+ case TOK_RANGLE:
+ case TOK_STAR:
+ case TOK_COMMA:
+ case TOK_EQUAL:
+ case TOK_COLON:
+ case TOK_SEMICOLON:
+ case TOK_CONST:
+ case TOK_STRUCT:
+ case TOK_UNION:
+ case TOK_SWITCH:
+ case TOK_CASE:
+ case TOK_DEFAULT:
+ case TOK_ENUM:
+ case TOK_TYPEDEF:
+ case TOK_INT:
+ case TOK_SHORT:
+ case TOK_INT32:
+ case TOK_UNSIGNED:
+ case TOK_FLOAT:
+ case TOK_DOUBLE:
+ case TOK_OPAQUE:
+ case TOK_CHAR:
+ case TOK_STRING:
+ case TOK_BOOL:
+ case TOK_VOID:
+ case TOK_PROGRAM:
+ case TOK_VERSION:
+ case TOK_PACKAGE:
+ case TOK_PREFIX:
+ case TOK_STATINDEX:
+ case TOK_SPECIAL:
+ case TOK_STARTINGOPCODE:
+ case TOK_CUSTOMIZED:
+ case TOK_PROC:
+ case TOK_SPLITPREFIX:
+ case TOK_SPLIT:
+ case TOK_MULTI:
+ case TOK_AFSUUID:
+ case TOK_EOF:
default:
+ /* The above long list was determined with lint; it is not
+ * clear to me whether the "default" case code here is making
+ * a hidden assumption about which cases are actually valid. */
unget_token(tokp);
hdle_param_tok(defp, &dec, tokp, DEF_NULL);
break;
--- ./src/rxgen/rpc_parse.c.~1~ 2003-07-15 19:16:41.000000000 -0400
+++ ./src/rxgen/rpc_parse.c 2003-11-18 11:36:02.000000000 -0500
@@ -1439,6 +1657,10 @@
case REL_ARRAY:
case REL_POINTER:
break;
+ case REL_VECTOR:
+ case REL_ALIAS:
+ /* added for lint; are these cases supposed to do anything? */
+ break;
}
}
}
--- ./src/rxgen/rpc_parse.c.~1~ 2003-07-15 19:16:41.000000000 -0400
+++ ./src/rxgen/rpc_parse.c 2003-11-18 11:36:02.000000000 -0500
@@ -1497,6 +1719,10 @@
f_print(fout, "\n\t%s = 0;", plist->pl.param_name);
plist->pl.string_name = NULL;
break;
+ case REL_VECTOR:
+ case REL_ALIAS:
+ /* added for lint; are these cases supposed to do anything? */
+ break;
}
}
}
--- ./src/rxgen/rpc_parse.c.~1~ 2003-07-15 19:16:41.000000000 -0400
+++ ./src/rxgen/rpc_parse.c 2003-11-18 11:36:02.000000000 -0500
@@ -1646,6 +1866,10 @@
f_print(fout, "\tif (!%s) goto fail1;\n",
plist->scode);
break;
+ case REL_VECTOR:
+ case REL_ALIAS:
+ /* added for lint; are these cases supposed to do anything? */
+ break;
}
}
}
--- ./src/rxgen/rpc_scan.c.~1~ 2003-10-24 02:26:14.000000000 -0400
+++ ./src/rxgen/rpc_scan.c 2003-11-18 09:50:19.000000000 -0500
@@ -136,6 +136,56 @@
switch (tokp->kind) {
case TOK_IDENT:
break;
+ case TOK_STRCONST:
+ case TOK_LPAREN:
+ case TOK_RPAREN:
+ case TOK_LBRACE:
+ case TOK_RBRACE:
+ case TOK_LBRACKET:
+ case TOK_RBRACKET:
+ case TOK_LANGLE:
+ case TOK_RANGLE:
+ case TOK_STAR:
+ case TOK_COMMA:
+ case TOK_EQUAL:
+ case TOK_COLON:
+ case TOK_SEMICOLON:
+ case TOK_CONST:
+ case TOK_STRUCT:
+ case TOK_UNION:
+ case TOK_SWITCH:
+ case TOK_CASE:
+ case TOK_DEFAULT:
+ case TOK_ENUM:
+ case TOK_TYPEDEF:
+ case TOK_INT:
+ case TOK_SHORT:
+ case TOK_INT32:
+ case TOK_UNSIGNED:
+ case TOK_FLOAT:
+ case TOK_DOUBLE:
+ case TOK_OPAQUE:
+ case TOK_CHAR:
+ case TOK_STRING:
+ case TOK_BOOL:
+ case TOK_VOID:
+ case TOK_PROGRAM:
+ case TOK_VERSION:
+ case TOK_PACKAGE:
+ case TOK_PREFIX:
+ case TOK_STATINDEX:
+ case TOK_SPECIAL:
+ case TOK_STARTINGOPCODE:
+ case TOK_CUSTOMIZED:
+ case TOK_PROC:
+ case TOK_SPLITPREFIX:
+ case TOK_SPLIT:
+ case TOK_MULTI:
+ case TOK_IN:
+ case TOK_OUT:
+ case TOK_INOUT:
+ case TOK_AFSUUID:
+ case TOK_EOF:
default:
error("constant or identifier expected");
}
--- ./src/rxgen/rpc_util.c.~1~ 2003-07-15 19:16:41.000000000 -0400
+++ ./src/rxgen/rpc_util.c 2003-11-18 09:46:56.000000000 -0500
@@ -163,7 +163,12 @@
return (def->def.ty.old_type);
case REL_ALIAS:
return (fixit(def->def.ty.old_type, orig));
+ case REL_ARRAY:
+ case REL_POINTER:
default:
+ /* The above list was determined with lint; it is not
+ * clear to me whether the "default" case code here is making
+ * a hidden assumption about which cases are actually valid. */
return (orig);
}
}
--- ./src/rxkad/ticket5.c.~1~ 2003-07-15 19:16:42.000000000 -0400
+++ ./src/rxkad/ticket5.c 2003-11-18 12:56:12.000000000 -0500
@@ -251,6 +251,20 @@
case ETYPE_DES_CBC_MD4:
case ETYPE_DES_CBC_MD5:
break;
+ case ETYPE_NULL:
+ case ETYPE_DES3_CBC_MD5:
+ case ETYPE_OLD_DES3_CBC_SHA1:
+ case ETYPE_SIGN_DSA_GENERATE:
+ case ETYPE_ENCRYPT_RSA_PRIV:
+ case ETYPE_ENCRYPT_RSA_PUB:
+ case ETYPE_DES3_CBC_SHA1:
+ case ETYPE_ARCFOUR_HMAC_MD5:
+ case ETYPE_ARCFOUR_HMAC_MD5_56:
+ case ETYPE_ENCTYPE_PK_CROSS:
+ case ETYPE_DES_CBC_NONE:
+ case ETYPE_DES3_CBC_NONE:
+ case ETYPE_DES_CFB64_NONE:
+ case ETYPE_DES_PCBC_NONE:
default:
goto unknown_key;
}
--- ./src/procmgmt/procmgmt_nt.c.~1~ 2003-07-15 19:15:58.000000000 -0400
+++ ./src/procmgmt/procmgmt_nt.c 2003-11-18 12:59:08.000000000 -0500
@@ -125,6 +125,8 @@
case SIGTSTP:
isDefined = 1;
break;
+ default:
+ break;
}
}
return isDefined;
--- ./src/rxkad/rxkad_common.c.~1~ 2003-07-15 19:16:42.000000000 -0400
+++ ./src/rxkad/rxkad_common.c 2003-11-20 14:28:41.000000000 -0500
@@ -371,6 +369,7 @@
switch (level) {
case rxkad_clear:
+ default:
return 0; /* shouldn't happen */
case rxkad_auth:
rx_Pullup(apacket, 8); /* the following encrypts 8 bytes only */
--- ./src/rxkad/rxkad_common.c.~1~ 2003-07-15 19:16:42.000000000 -0400
+++ ./src/rxkad/rxkad_common.c 2003-11-20 14:28:41.000000000 -0500
@@ -461,6 +460,7 @@
switch (level) {
case rxkad_clear:
+ default:
return 0; /* shouldn't happen */
case rxkad_auth:
nlen =
--------------030906060305010206040207--