mirror of
https://github.com/python/cpython.git
synced 2025-07-07 11:25:30 +00:00
GH-131296: fix clang-cl warnings on Windows in pyshellext.cpp (GH-131300)
fix unused warnings in pyshellext.cpp
This commit is contained in:
parent
f104c19a94
commit
e82c2ca2a5
1 changed files with 1 additions and 6 deletions
|
@ -68,8 +68,6 @@ HRESULT FilenameListCchLengthW(LPCWSTR pszSource, size_t cchMax, size_t *pcchLen
|
|||
|
||||
HRESULT FilenameListCchCopyA(STRSAFE_LPSTR pszDest, size_t cchDest, LPCSTR pszSource, LPCSTR pszSeparator) {
|
||||
HRESULT hr = S_OK;
|
||||
size_t count = 0;
|
||||
size_t length = 0;
|
||||
|
||||
while (pszSource[0]) {
|
||||
STRSAFE_LPSTR newDest;
|
||||
|
@ -95,8 +93,6 @@ HRESULT FilenameListCchCopyA(STRSAFE_LPSTR pszDest, size_t cchDest, LPCSTR pszSo
|
|||
|
||||
HRESULT FilenameListCchCopyW(STRSAFE_LPWSTR pszDest, size_t cchDest, LPCWSTR pszSource, LPCWSTR pszSeparator) {
|
||||
HRESULT hr = S_OK;
|
||||
size_t count = 0;
|
||||
size_t length = 0;
|
||||
|
||||
while (pszSource[0]) {
|
||||
STRSAFE_LPWSTR newDest;
|
||||
|
@ -498,7 +494,6 @@ STDAPI DllCanUnloadNow() {
|
|||
|
||||
STDAPI DllRegisterServer() {
|
||||
LONG res;
|
||||
SECURITY_ATTRIBUTES secattr = { sizeof(SECURITY_ATTRIBUTES), NULL, FALSE };
|
||||
LPSECURITY_ATTRIBUTES psecattr = NULL;
|
||||
HKEY key, ipsKey;
|
||||
WCHAR modname[MAX_PATH];
|
||||
|
@ -605,4 +600,4 @@ STDAPI_(BOOL) DllMain(_In_opt_ HINSTANCE hinst, DWORD reason, _In_opt_ void*) {
|
|||
DisableThreadLibraryCalls(hinst);
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue