mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
REFACTOR: Loop can be converted into LINQ-expression.
This commit is contained in:
@@ -152,9 +152,9 @@ namespace DiscImageChef.Commands
|
||||
else if(checkStatus == true && tempStatus == true) checkStatus = true;
|
||||
else checkStatus = null;
|
||||
|
||||
foreach(ulong failLba in tempfailingLbas) failingLbas.Add(failLba);
|
||||
failingLbas.AddRange(tempfailingLbas);
|
||||
|
||||
foreach(ulong unknownLba in tempunknownLbas) unknownLbas.Add(unknownLba);
|
||||
unknownLbas.AddRange(tempunknownLbas);
|
||||
|
||||
if(remainingSectors < 512)
|
||||
{
|
||||
@@ -199,9 +199,9 @@ namespace DiscImageChef.Commands
|
||||
else if(checkStatus == true && tempStatus == true) checkStatus = true;
|
||||
else checkStatus = null;
|
||||
|
||||
foreach(ulong failLba in tempfailingLbas) failingLbas.Add(failLba);
|
||||
failingLbas.AddRange(tempfailingLbas);
|
||||
|
||||
foreach(ulong unknownLba in tempunknownLbas) unknownLbas.Add(unknownLba);
|
||||
unknownLbas.AddRange(tempunknownLbas);
|
||||
|
||||
if(remainingSectors < 512)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user