mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 00:42:55 +08:00
Fix unused null assignment
This commit is contained in:
parent
c9db0181d0
commit
25dbe6b27c
@ -34,9 +34,9 @@ namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
{
|
||||
string rulesetName = Ruleset?.ShortName;
|
||||
|
||||
List<RealmKeyBinding> bindings = null;
|
||||
|
||||
bindings = realmFactory.Run(realm => realm.All<RealmKeyBinding>().Where(b => b.RulesetName == rulesetName && b.Variant == variant).Detach());
|
||||
var bindings = realmFactory.Run(realm => realm.All<RealmKeyBinding>()
|
||||
.Where(b => b.RulesetName == rulesetName && b.Variant == variant)
|
||||
.Detach());
|
||||
|
||||
foreach (var defaultGroup in Defaults.GroupBy(d => d.Action))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user