Fix equality from missing return statement

This commit is contained in:
Matt Nadareski
2024-03-04 22:18:14 -05:00
parent 9bfcea5c04
commit b12d221fbf

View File

@@ -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>