Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
8bitbubsy committed Jun 19, 2021
1 parent 78cd1bf commit b305f0d
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/pt2_diskop.c
Original file line number Diff line number Diff line change
Expand Up @@ -544,20 +544,6 @@ void freeDiskOpEntryMem(void)
diskop.numEntries = 0;
}

static bool swapEntries(int32_t a, int32_t b)
{
fileEntry_t tmpBuffer;

if (a >= diskop.numEntries || b >= diskop.numEntries)
return false;

tmpBuffer = diskOpEntry[a];
diskOpEntry[a] = diskOpEntry[b];
diskOpEntry[b] = tmpBuffer;

return true;
}

// thanks to aTc for creating this simplified routine for qsort() (I edited it a little bit)
static int32_t fileEntryCompare(const void *f1, const void *f2)
{
Expand Down

0 comments on commit b305f0d

Please sign in to comment.