Skip to content

Commit 5d47e2c

Browse files
committed
Adjust pointer tracking to assist static checkers
Coverity scanning struggles to follow our 'super' handling under certain circumstances. Adjust the code to ensure we keep good coverage even though this is a false positive.
1 parent de1d3e1 commit 5d47e2c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pcp/InDomTable.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ static void InDomTable_goThroughEntries(InDomTable* this) {
7373
Instance* inst = InDomTable_getInstance(this, instid, &preExisting);
7474
inst->offset = offset >= 0 ? offset : 0;
7575

76-
Row* row = &inst->super;
76+
Row* row = (Row*) inst;
7777
if (!preExisting)
7878
Table_add(super, row);
7979
row->updated = true;

0 commit comments

Comments
 (0)