useless assignment pointer argument - Mailing list pgsql-hackers

From Gaetano Mendola
Subject useless assignment pointer argument
Date
Msg-id CAJycT5q2xa02M7h=hgnBbcmgyVbg_zHeOQnGB3qxRsmH6RjQhQ@mail.gmail.com
Whole thread Raw
Responses Re: useless assignment pointer argument  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Hi,
in the following spots:

src/backend/commands/explain.c:1692
src/backend/commands/explain.c:1874
src/backend/commands/explain.c:1986

there is the following assignment: 

   ancestors = list_delete_first(ancestors);

but it has no effect at all being that a function parameter and not used anymore after the assignment itself.

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: RFC: Remove contrib entirely
Next
From: Andres Freund
Date:
Subject: Re: useless assignment pointer argument