Code style.

This commit is contained in:
2020-03-01 19:59:51 +00:00
parent 629401939d
commit df27092622
2 changed files with 13 additions and 13 deletions

View File

@@ -42,7 +42,7 @@ void* open(const char* filepath)
{
aaruformatContext* ctx;
int errorNo;
size_t readBytes;
size_t readBytes;
long pos;
IndexHeader idxHeader;
IndexEntry* idxEntries;

View File

@@ -73,12 +73,12 @@ int32_t read_sector(void* context, uint64_t sectorAddress, uint8_t* data, uint32
{
aaruformatContext* ctx;
uint64_t ddtEntry;
uint32_t offsetMask;
uint64_t offset;
uint64_t blockOffset;
BlockHeader blockHeader;
uint8_t* block;
size_t readBytes;
uint32_t offsetMask;
uint64_t offset;
uint64_t blockOffset;
BlockHeader blockHeader;
uint8_t* block;
size_t readBytes;
if(context == NULL) return AARUF_ERROR_NOT_AARUFORMAT;
@@ -175,12 +175,12 @@ int32_t read_sector_long(void* context, uint8_t* data, uint64_t sectorAddress, u
{
aaruformatContext* ctx;
uint32_t bareLength;
uint32_t tagLength;
uint8_t* bareData;
int32_t res;
TrackEntry trk;
int i;
bool trkFound;
uint32_t tagLength;
uint8_t* bareData;
int32_t res;
TrackEntry trk;
int i;
bool trkFound;
if(context == NULL) return AARUF_ERROR_NOT_AARUFORMAT;