REFACTOR: Expression is always 'true' or always 'false'.

This commit is contained in:
2017-12-21 17:34:47 +00:00
parent ccd9930884
commit 9a404acef4
19 changed files with 104 additions and 161 deletions

View File

@@ -298,7 +298,7 @@ namespace DiscImageChef.Filters
public override bool Identify(string path)
{
FileStream fstream = new FileStream(path, FileMode.Open, FileAccess.Read);
if(fstream == null || fstream.Length < 128) return false;
if(fstream.Length < 128) return false;
byte[] hdr_b = new byte[128];
fstream.Read(hdr_b, 0, 128);