mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 19:24:40 +00:00
Refactor variable declarations for improved scope and clarity in multiple source files
This commit is contained in:
@@ -126,7 +126,6 @@ int aaruf_close(void *context)
|
||||
{
|
||||
TRACE("Entering aaruf_close(%p)", context);
|
||||
|
||||
int i = 0;
|
||||
mediaTagEntry *media_tag = NULL;
|
||||
mediaTagEntry *tmp_media_tag = NULL;
|
||||
|
||||
@@ -661,7 +660,7 @@ int aaruf_close(void *context)
|
||||
|
||||
if(ctx->dumpHardwareEntriesWithData != NULL)
|
||||
{
|
||||
for(i = 0; i < ctx->dumpHardwareHeader.entries; i++)
|
||||
for(int i = 0; i < ctx->dumpHardwareHeader.entries; i++)
|
||||
{
|
||||
free(ctx->dumpHardwareEntriesWithData[i].extents);
|
||||
ctx->dumpHardwareEntriesWithData[i].extents = NULL;
|
||||
|
||||
Reference in New Issue
Block a user