Indicate unused variable

This commit is contained in:
Dean Herbert 2017-12-18 08:05:57 +09:00
parent dfd7787b15
commit 954bc77a71

View File

@ -70,18 +70,15 @@ namespace osu.Game.Screens.Select
newRoot.Filter(activeCriteria); newRoot.Filter(activeCriteria);
// preload drawables as the ctor overhead is quite high currently. // preload drawables as the ctor overhead is quite high currently.
var drawables = newRoot.Drawables; var _ = newRoot.Drawables;
}).ContinueWith(t => }).ContinueWith(_ => Schedule(() =>
{ {
Schedule(() => root = newRoot;
{ scrollableContent.Clear(false);
root = newRoot; itemsCache.Invalidate();
scrollableContent.Clear(false); scrollPositionCache.Invalidate();
itemsCache.Invalidate(); BeatmapSetsChanged?.Invoke();
scrollPositionCache.Invalidate(); }));
BeatmapSetsChanged?.Invoke();
});
});
} }
} }