mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatItem] Remove unnecessary variable
This commit is contained in:
@@ -639,8 +639,6 @@ namespace SabreTools.Library.DatItems
|
||||
/// <returns>Key to try to use</returns>
|
||||
private string SortAndGetKey(DatFile datdata, bool sorted = false)
|
||||
{
|
||||
string key = null;
|
||||
|
||||
// If we're not already sorted, take care of it
|
||||
if (!sorted)
|
||||
{
|
||||
@@ -648,9 +646,7 @@ namespace SabreTools.Library.DatItems
|
||||
}
|
||||
|
||||
// Now that we have the sorted type, we get the proper key
|
||||
key = Utilities.GetKeyFromDatItem(this, datdata.SortedBy);
|
||||
|
||||
return key;
|
||||
return Utilities.GetKeyFromDatItem(this, datdata.SortedBy);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user