diff --git a/src/LibHac/IO/Save/AllocationTable.cs b/src/LibHac/IO/Save/AllocationTable.cs index a8bc04f2..045ae2f4 100644 --- a/src/LibHac/IO/Save/AllocationTable.cs +++ b/src/LibHac/IO/Save/AllocationTable.cs @@ -169,9 +169,6 @@ namespace LibHac.IO.Save ReadEntry(EntryIndexToBlock(currentEntryIndex), out next, out int _, out int segmentLength); - int start = EntryIndexToBlock(currentEntryIndex); - int end = start + segmentLength - 1; - next = BlockToEntryIndex(next); if (segmentLength == blocksRemaining) @@ -369,6 +366,7 @@ namespace LibHac.IO.Save BaseStorage.Write(bytes, offset); } + // ReSharper disable once UnusedMember.Local private int GetListHead(int entryIndex) { int headIndex = entryIndex; diff --git a/src/LibHac/IO/Save/SaveFsList.cs b/src/LibHac/IO/Save/SaveFsList.cs index 8142c49c..726c5ac2 100644 --- a/src/LibHac/IO/Save/SaveFsList.cs +++ b/src/LibHac/IO/Save/SaveFsList.cs @@ -242,6 +242,7 @@ namespace LibHac.IO.Save return MemoryMarshal.Read(buf); } + // ReSharper disable once UnusedMember.Local private void SetListCapacity(int capacity) { Span buf = stackalloc byte[sizeof(int)];