mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 18:26:39 +02:00
[Analyzers][CPP]Turn on warning 4505 (#22301)
* Turn on warning 4505 supress it in the fancyzone tests * comment on disabled warnings * improving comments * change strategy to have less #pragma
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
// disable warning 4505 -'function' : unreferenced local function has been removed
|
||||
// as not all functions from Util.h are used in this test
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable : 4505)
|
||||
#include "FancyZonesLib/FancyZonesDataTypes.h"
|
||||
|
||||
namespace CustomAssert
|
||||
@@ -145,3 +148,5 @@ std::wstring Microsoft::VisualStudio::CppUnitTestFramework::ToString(const std::
|
||||
str += L"}";
|
||||
return str;
|
||||
}
|
||||
|
||||
#pragma warning(pop)
|
||||
Reference in New Issue
Block a user