mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Invert 'if' statement to reduce nesting.
This commit is contained in:
@@ -61,12 +61,12 @@ public static partial class ArrayHelpers
|
||||
|
||||
for(long i = 0; i < leastBytes; i++)
|
||||
{
|
||||
if(compareArray1[i] != compareArray2[i])
|
||||
{
|
||||
different = true;
|
||||
if(compareArray1[i] == compareArray2[i])
|
||||
continue;
|
||||
|
||||
return;
|
||||
}
|
||||
different = true;
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user