Skip to content

Commit

Permalink
Remove unnecessary variables
Browse files Browse the repository at this point in the history
  • Loading branch information
zwyan0 committed Nov 22, 2023
1 parent 14e3cea commit e236de3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions restore.c
Original file line number Diff line number Diff line change
Expand Up @@ -1230,9 +1230,8 @@ readTimeLineHistory(TimeLineID targetTLI)
elog(DEBUG, "the calculated branch history is as below;");
for (i = 0; i < parray_num(result); i++)
{
pgTimeLine *timeline2 = parray_get(result, i);
elog(DEBUG, "stage %d: timeline ID = %d",
(int)parray_num(result) - i, timeline2->tli);
(int)parray_num(result) - i, ((pgTimeLine *)(parray_get(result,i)))->tli);
}

return result;
Expand Down

0 comments on commit e236de3

Please sign in to comment.