remove unused dictionary vars in TableUpdateDemuxer.OnNext

This commit is contained in:
John Colvin committed 2019-05-01 23:59:51 -05:00
1 parent 6fba76b399
commit 04537684cb
1 file changed
-2
@@ -168,8 +168,6 @@ namespace mbts.utils {
public void OnCompleted() { }
public void OnError(Exception error) { }
public void OnNext(TableUpdate<T, TKey> update) {
var add_map = update.added.Map(_group_key);
var remove_map = update.removed.Map(_group_key);
var group_updates = new Dictionary<TGroupKey, UpdateTuple>();
foreach (var v in update.added)
group_updates.GetOrAdd(_group_key(v), gk => new UpdateTuple()).added.Add(v);