Removed variable assignment as the value to set is unknown and will not be read in this case

This commit is contained in:
Jordan Cristiano 2015-06-18 20:26:23 -04:00
parent 778e20803c
commit 8be05db10d

View File

@ -43,10 +43,6 @@ namespace NetHandlers
{
data->unk1 = bitbuf.ReadOneBit() != 0;
}
else
{
data->unk1 = false;
}
data->data.reset(new uint8_t[math::BitsToBytes(data->dataLengthInBits)]);
bitbuf.ReadBits(data->data.get(), data->dataLengthInBits);
return !bitbuf.IsOverflowed();