Remove unneeded double-initialization of the vars.

This commit is contained in:
bank 2014-10-16 19:39:54 +04:00 committed by Daniel Buckmaster
parent d9c5670e93
commit 62006e8b3c
4 changed files with 1 additions and 4 deletions

View file

@ -122,7 +122,6 @@ void RenderBinManager::internalAddElement(RenderInst* inst)
mElementList.increment();
MainSortElem &elem = mElementList.last();
elem.inst = inst;
elem.key = elem.key2 = 0;
elem.key = inst->defaultKey;
elem.key2 = inst->defaultKey2;