1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-02 09:02:37 +03:00

Remove some more useless assignments.

Found with clang's scan-build tool.  It also whines about a lot of
other dead stores that we should *not* change IMO, either as a matter
of style or future-proofing.  But these places seem like clear
oversights.

Discussion: https://postgr.es/m/CAEudQAo1+AcGppxDSg8k+zF4+Kv+eJyqzEDdbpDg58-=MQcerQ@mail.gmail.com
This commit is contained in:
Tom Lane
2020-09-04 14:32:10 -04:00
parent 3eb3d3e782
commit 38a2d70329
8 changed files with 7 additions and 14 deletions

View File

@ -5097,7 +5097,7 @@ create_ordered_paths(PlannerInfo *root,
foreach(lc, input_rel->partial_pathlist)
{
Path *input_path = (Path *) lfirst(lc);
Path *sorted_path = input_path;
Path *sorted_path;
bool is_sorted;
int presorted_keys;
double total_groups;