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

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