mirror of
https://github.com/postgres/postgres.git
synced 2025-07-15 19:21:59 +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:
@ -4259,10 +4259,6 @@ get_qual_for_range(Relation parent, PartitionBoundSpec *spec,
|
||||
return result;
|
||||
}
|
||||
|
||||
lower_or_start_datum = list_head(spec->lowerdatums);
|
||||
upper_or_start_datum = list_head(spec->upperdatums);
|
||||
num_or_arms = key->partnatts;
|
||||
|
||||
/*
|
||||
* If it is the recursive call for default, we skip the get_range_nulltest
|
||||
* to avoid accumulating the NullTest on the same keys for each partition.
|
||||
|
Reference in New Issue
Block a user