mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
refactor: Remove double semicolon
This commit is contained in:
parent
796277cb95
commit
a438216458
@ -134,7 +134,7 @@ void EnlargeBufferIfRequired(int count)
|
|||||||
if (requiredSize > newSize)
|
if (requiredSize > newSize)
|
||||||
{
|
{
|
||||||
// compute the power of two larger than requiredSize. so 40000 => 65536
|
// compute the power of two larger than requiredSize. so 40000 => 65536
|
||||||
newSize = (int)Math.Pow(2, Math.Ceiling(Math.Log(requiredSize) / Math.Log(2))); ;
|
newSize = (int)Math.Pow(2, Math.Ceiling(Math.Log(requiredSize) / Math.Log(2)));
|
||||||
}
|
}
|
||||||
|
|
||||||
byte[] newBuffer = new byte[newSize];
|
byte[] newBuffer = new byte[newSize];
|
||||||
|
Loading…
Reference in New Issue
Block a user