Skip to content

Commit

Permalink
[tidy] Move declaration to first use
Browse files Browse the repository at this point in the history
  • Loading branch information
thoni56 committed Jun 17, 2024
1 parent 7efa906 commit d2466c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/extract.c
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,6 @@ void actionsBeforeAfterExternalDefinition(void) {


void extractActionOnBlockMarker(void) {
Position pos;
if (parsedInfo.cxMemoryIndexAtBlockBegin == 0) {
parsedInfo.cxMemoryIndexAtBlockBegin = cxMemory->index;
parsedInfo.workMemoryIndexAtBlockBegin = currentBlock->outerBlock;
Expand All @@ -945,7 +944,7 @@ void extractActionOnBlockMarker(void) {
parsedInfo.cxMemoryIndexAtBlockEnd = cxMemory->index;
parsedInfo.workMemoryIndexAtBlockEnd = currentBlock->outerBlock;
}
pos = makePosition(currentFile.characterBuffer.fileNumber, 0, 0);
Position pos = makePosition(currentFile.characterBuffer.fileNumber, 0, 0);
addTrivialCxReference("Block", TypeBlockMarker, StorageDefault, pos, UsageUsed);
}

Expand Down

0 comments on commit d2466c8

Please sign in to comment.