mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
REFACTOR: Expression is always 'true' or always 'false'.
This commit is contained in:
@@ -448,7 +448,7 @@ namespace DiscImageChef.DiscImages
|
||||
if(isDvd)
|
||||
{
|
||||
// TODO: Second layer
|
||||
if(header.structuresOffset >= 0)
|
||||
if(header.structuresOffset > 0)
|
||||
{
|
||||
byte[] structures = new byte[4100];
|
||||
stream.Seek(header.structuresOffset, SeekOrigin.Begin);
|
||||
|
||||
@@ -919,7 +919,7 @@ namespace DiscImageChef.DiscImages
|
||||
currentLocator++;
|
||||
}
|
||||
|
||||
if(!locatorFound || parentPath == null)
|
||||
if(!locatorFound)
|
||||
throw new
|
||||
FileNotFoundException("(VirtualPC plugin): Cannot find parent file for differencing disk image");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user