mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Fix equality from missing return statement
This commit is contained in:
@@ -46,7 +46,7 @@ namespace SabreTools.Core
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Conversion
|
#region Conversion
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Convert a DatItem to a Rom
|
/// Convert a DatItem to a Rom
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -255,10 +255,11 @@ namespace SabreTools.Core
|
|||||||
|
|
||||||
// If we have a file that has no known size, rely on the hashes only
|
// If we have a file that has no known size, rely on the hashes only
|
||||||
if (selfSize == null && self.HashMatch(other))
|
if (selfSize == null && self.HashMatch(other))
|
||||||
|
return true;
|
||||||
|
|
||||||
// If we get a partial match
|
// If we get a partial match
|
||||||
if (selfSize == otherSize && self.HashMatch(other))
|
if (selfSize == otherSize && self.HashMatch(other))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
// All other cases fail
|
// All other cases fail
|
||||||
return false;
|
return false;
|
||||||
@@ -524,7 +525,7 @@ namespace SabreTools.Core
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Information Filling
|
#region Information Filling
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -647,7 +648,7 @@ namespace SabreTools.Core
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Suffix Generation
|
#region Suffix Generation
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user