mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[RAPPS]
- Avoid an unintended fall-through and document and intended one in DownloadProgressProc. CID 1341273 (rapps), 1363531 (rapps_new) svn path=/trunk/; revision=72848
This commit is contained in:
@@ -556,6 +556,7 @@ DownloadProgressProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, UINT_PT
|
||||
sizeof(szProgressText),
|
||||
(PCWSTR)lParam);
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
case WM_ERASEBKGND:
|
||||
@@ -611,7 +612,7 @@ DownloadProgressProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, UINT_PT
|
||||
ZeroMemory(szProgressText, sizeof(szProgressText));
|
||||
RemoveWindowSubclass(hWnd, DownloadProgressProc, uIdSubclass);
|
||||
}
|
||||
|
||||
/* Fall-through */
|
||||
default:
|
||||
return DefSubclassProc(hWnd, uMsg, wParam, lParam);
|
||||
}
|
||||
|
||||
@@ -508,6 +508,7 @@ DownloadProgressProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, UINT_PT
|
||||
sizeof(szProgressText),
|
||||
(PCWSTR)lParam);
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
case WM_ERASEBKGND:
|
||||
@@ -563,7 +564,7 @@ DownloadProgressProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, UINT_PT
|
||||
ZeroMemory(szProgressText, sizeof(szProgressText));
|
||||
RemoveWindowSubclass(hWnd, DownloadProgressProc, uIdSubclass);
|
||||
}
|
||||
|
||||
/* Fall-through */
|
||||
default:
|
||||
return DefSubclassProc(hWnd, uMsg, wParam, lParam);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user