REFACTOR: Remove redundant parentheses.

This commit is contained in:
2017-12-20 17:26:28 +00:00
parent a4650c61aa
commit b0936d51c5
160 changed files with 1096 additions and 1106 deletions

View File

@@ -359,7 +359,7 @@ namespace DiscImageChef.Filesystems
offset += 4;
nameLength = BigEndianBitConverter.ToUInt32(nvlist, offset);
offset += 4;
if(nameLength % 4 > 0) nameLength += 4 - (nameLength % 4);
if(nameLength % 4 > 0) nameLength += 4 - nameLength % 4;
nameBytes = new byte[nameLength];
Array.Copy(nvlist, offset, nameBytes, 0, nameLength);
item.name = StringHandlers.CToString(nameBytes);
@@ -395,7 +395,7 @@ namespace DiscImageChef.Filesystems
else
{
uint temp = BigEndianBitConverter.ToUInt32(nvlist, offset);
item.value = (temp > 0);
item.value = temp > 0;
offset += 4;
}