mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
REFACTOR: Expression is always 'true' or always 'false'.
This commit is contained in:
@@ -88,6 +88,7 @@ namespace DiscImageChef.Filesystems.LisaFS
|
||||
if(extTag.fileID != fileId * -1) continue;
|
||||
|
||||
ptr = i;
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
@@ -645,7 +645,7 @@ namespace DiscImageChef.Filesystems
|
||||
byte[] subListBytes = new byte[item.encodedSize - (offset - currOff)];
|
||||
Array.Copy(nvlist, offset, subListBytes, 0, subListBytes.Length);
|
||||
Dictionary<string, NVS_Item> subList;
|
||||
if(DecodeNvList(subListBytes, out subList, xdr, littleEndian)) item.value = subList;
|
||||
if(DecodeNvList(subListBytes, out subList, true, littleEndian)) item.value = subList;
|
||||
else goto default;
|
||||
offset = (int)(currOff + item.encodedSize);
|
||||
break;
|
||||
|
||||
@@ -378,7 +378,7 @@ namespace DiscImageChef.Filesystems
|
||||
}
|
||||
sb.AppendFormat("Dump volume number: {0}", aixHdr.c_volume).AppendLine();
|
||||
}
|
||||
else if(useNew)
|
||||
else
|
||||
{
|
||||
xmlFSType.Type = "dump(8)";
|
||||
sb.AppendLine(xmlFSType.Type);
|
||||
|
||||
Reference in New Issue
Block a user