mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 04:07:40 +02:00
[Analyzers][CPP]Turn on warning 26819 (#22796)
This commit is contained in:
@@ -96,7 +96,7 @@
|
|||||||
<Rule Id="C26816" Action="Info" />
|
<Rule Id="C26816" Action="Info" />
|
||||||
<Rule Id="C26817" Action="Info" />
|
<Rule Id="C26817" Action="Info" />
|
||||||
<Rule Id="C26818" Action="Info" />
|
<Rule Id="C26818" Action="Info" />
|
||||||
<Rule Id="C26819" Action="Info" />
|
<Rule Id="C26819" Action="Error" />
|
||||||
<Rule Id="C26820" Action="Error" />
|
<Rule Id="C26820" Action="Error" />
|
||||||
<Rule Id="C26826" Action="Info" />
|
<Rule Id="C26826" Action="Info" />
|
||||||
<Rule Id="C26827" Action="Error" />
|
<Rule Id="C26827" Action="Error" />
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ BOOL APIENTRY DllMain(HMODULE /*hModule*/, DWORD ul_reason_for_call, LPVOID /*lp
|
|||||||
{
|
{
|
||||||
case DLL_PROCESS_ATTACH:
|
case DLL_PROCESS_ATTACH:
|
||||||
Trace::RegisterProvider();
|
Trace::RegisterProvider();
|
||||||
|
[[fallthrough]];
|
||||||
case DLL_THREAD_ATTACH:
|
case DLL_THREAD_ATTACH:
|
||||||
case DLL_THREAD_DETACH:
|
case DLL_THREAD_DETACH:
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -389,6 +389,7 @@ int WINAPI WinMain(HINSTANCE /*hInstance*/, HINSTANCE /*hPrevInstance*/, LPSTR l
|
|||||||
case toast_notification_handler_result::exit_success:
|
case toast_notification_handler_result::exit_success:
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
[[fallthrough]];
|
||||||
case SpecialMode::ReportSuccessfulUpdate:
|
case SpecialMode::ReportSuccessfulUpdate:
|
||||||
{
|
{
|
||||||
notifications::remove_toasts_by_tag(notifications::UPDATING_PROCESS_TOAST_TAG);
|
notifications::remove_toasts_by_tag(notifications::UPDATING_PROCESS_TOAST_TAG);
|
||||||
|
|||||||
Reference in New Issue
Block a user