mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 18:57:19 +02:00
[CodeQuality]Fix C++ static analyzer findings (#29745)
* [PVS] Fix static analyzer findings * f: fix error handling * f: more improvements * Update src/modules/FileLocksmith/FileLocksmithLibInterop/NtdllExtensions.cpp
This commit is contained in:
@@ -109,7 +109,7 @@ LRESULT Toolbar::WindowProcessMessages(HWND hwnd, UINT msg, WPARAM wparam, LPARA
|
||||
}
|
||||
case WM_DPICHANGED:
|
||||
{
|
||||
UINT dpi = LOWORD(dpi);
|
||||
UINT dpi = LOWORD(wparam);
|
||||
RECT* prcNewWindow = reinterpret_cast<RECT*>(lparam);
|
||||
|
||||
POINT suggestedPosition;
|
||||
|
||||
@@ -99,8 +99,6 @@ std::string toMediaTypeString(GUID subtype)
|
||||
return "MFVideoFormat_D16";
|
||||
else if (subtype == MFVideoFormat_AYUV)
|
||||
return "MFVideoFormat_AYUV";
|
||||
else if (subtype == MFVideoFormat_YUY2)
|
||||
return "MFVideoFormat_YUY2";
|
||||
else if (subtype == MFVideoFormat_YVYU)
|
||||
return "MFVideoFormat_YVYU";
|
||||
else if (subtype == MFVideoFormat_YVU9)
|
||||
|
||||
Reference in New Issue
Block a user