mirror of
https://github.com/winsw/winsw.git
synced 2025-12-10 18:37:28 +08:00
Remove warning suppressions
This commit is contained in:
@@ -48,10 +48,8 @@ namespace WinSW.Tests.Util
|
||||
hr = client.SetEventCallbacks(this);
|
||||
AssertEx.Succeeded(hr);
|
||||
|
||||
#pragma warning disable CA1416 // Validate platform compatibility
|
||||
IntPtr pointer = Marshal.GetIUnknownForObject(client);
|
||||
Assert.Equal(1, Marshal.Release(pointer));
|
||||
#pragma warning restore CA1416 // Validate platform compatibility
|
||||
|
||||
target = DataTarget.CreateFromDbgEng(pointer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user