Removed variable assignment as the value to set is unknown and will not be read in this case
This commit is contained in:
parent
778e20803c
commit
8be05db10d
@ -43,10 +43,6 @@ namespace NetHandlers
|
|||||||
{
|
{
|
||||||
data->unk1 = bitbuf.ReadOneBit() != 0;
|
data->unk1 = bitbuf.ReadOneBit() != 0;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
data->unk1 = false;
|
|
||||||
}
|
|
||||||
data->data.reset(new uint8_t[math::BitsToBytes(data->dataLengthInBits)]);
|
data->data.reset(new uint8_t[math::BitsToBytes(data->dataLengthInBits)]);
|
||||||
bitbuf.ReadBits(data->data.get(), data->dataLengthInBits);
|
bitbuf.ReadBits(data->data.get(), data->dataLengthInBits);
|
||||||
return !bitbuf.IsOverflowed();
|
return !bitbuf.IsOverflowed();
|
||||||
|
Loading…
Reference in New Issue
Block a user