1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 19:42:55 +08:00

Ignore unused thing inspection harder

This commit is contained in:
Bartłomiej Dach 2023-09-06 17:57:26 +02:00
parent dce6adb895
commit f9db0fad88
No known key found for this signature in database

View File

@ -4,6 +4,7 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using JetBrains.Annotations;
@ -82,9 +83,9 @@ namespace osu.Game.Skinning
}
}
[SuppressMessage("ReSharper", "RedundantAssignment")] // for `wasHit` assignments used in `finally` debug logic
public override IBindable<TValue>? GetConfig<TLookup, TValue>(TLookup lookup)
{
// ReSharper disable once RedundantAssignment (used in `finally` debug logic)
bool wasHit = true;
try