mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Move declaration closer to usage.
This commit is contained in:
@@ -37,12 +37,13 @@ public abstract class ImageReadIssueTest
|
||||
|
||||
ulong doneSectors = 0;
|
||||
var ctx = new Crc32Context();
|
||||
ErrorNumber errno;
|
||||
|
||||
while(doneSectors < image.Info.Sectors)
|
||||
{
|
||||
byte[] sector;
|
||||
|
||||
ErrorNumber errno;
|
||||
|
||||
if(image.Info.Sectors - doneSectors >= SECTORS_TO_READ)
|
||||
{
|
||||
errno = image.ReadSectors(doneSectors, SECTORS_TO_READ, out sector);
|
||||
|
||||
Reference in New Issue
Block a user