Skip to content

Commit

Permalink
[ISO9660] Remove leftover line from fix in b7dabe6 that introduces an…
Browse files Browse the repository at this point in the history
…other bug.
  • Loading branch information
claunia committed Jan 4, 2025
1 parent 66cb455 commit 7dcb22b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Aaru.Filesystems/ISO9660/Xattr.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,10 @@ public ErrorNumber ListXAttr(string path, out List<string> xattrs)

ErrorNumber errno = _image.ReadSectorTag(entry.Extents[0].extent * _blockSize / 2048,
SectorTagType.CdSectorSubHeader,
out byte[] sector);
out _);

if(errno != ErrorNumber.NoError) return errno;

if(sector[15] != 2) return ErrorNumber.NoError;

xattrs.Add("org.iso.mode2.subheader");
xattrs.Add("org.iso.mode2.subheader.copy");

Expand Down

0 comments on commit 7dcb22b

Please sign in to comment.