1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-04 01:14:01 +08:00

Indicate unused variable

This commit is contained in:
Dean Herbert
2017-12-18 08:05:57 +09:00
Unverified
parent dfd7787b15
commit 954bc77a71
+8 -11
View File
@@ -70,18 +70,15 @@ namespace osu.Game.Screens.Select
newRoot.Filter(activeCriteria);
// preload drawables as the ctor overhead is quite high currently.
var drawables = newRoot.Drawables;
}).ContinueWith(t =>
var _ = newRoot.Drawables;
}).ContinueWith(_ => Schedule(() =>
{
Schedule(() =>
{
root = newRoot;
scrollableContent.Clear(false);
itemsCache.Invalidate();
scrollPositionCache.Invalidate();
BeatmapSetsChanged?.Invoke();
});
});
root = newRoot;
scrollableContent.Clear(false);
itemsCache.Invalidate();
scrollPositionCache.Invalidate();
BeatmapSetsChanged?.Invoke();
}));
}
}