mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 10:42:55 +08:00
Remove redundant parentheses.
This commit is contained in:
parent
dc5ac6e88f
commit
0976e205d8
@ -86,14 +86,14 @@ namespace osu.Game.Database
|
|||||||
{
|
{
|
||||||
byte[] properties = new byte[5];
|
byte[] properties = new byte[5];
|
||||||
if (replayInStream.Read(properties, 0, 5) != 5)
|
if (replayInStream.Read(properties, 0, 5) != 5)
|
||||||
throw (new Exception("input .lzma is too short"));
|
throw new Exception("input .lzma is too short");
|
||||||
long outSize = 0;
|
long outSize = 0;
|
||||||
for (int i = 0; i < 8; i++)
|
for (int i = 0; i < 8; i++)
|
||||||
{
|
{
|
||||||
int v = replayInStream.ReadByte();
|
int v = replayInStream.ReadByte();
|
||||||
if (v < 0)
|
if (v < 0)
|
||||||
throw (new Exception("Can't Read 1"));
|
throw new Exception("Can't Read 1");
|
||||||
outSize |= ((long)(byte)v) << (8 * i);
|
outSize |= (long)(byte)v << (8 * i);
|
||||||
}
|
}
|
||||||
|
|
||||||
long compressedSize = replayInStream.Length - replayInStream.Position;
|
long compressedSize = replayInStream.Length - replayInStream.Position;
|
||||||
|
Loading…
Reference in New Issue
Block a user