Fix possibly-uninitialized variable.
Oversight in e2d4ef8de et al (my fault not Peter's). Per buildfarm. Security: CVE-2017-7484
This commit is contained in:
parent
3eefc51053
commit
b6576e5914
@ -374,8 +374,8 @@ calc_hist_selectivity(TypeCacheEntry *typcache, VariableStatData *vardata,
|
|||||||
{
|
{
|
||||||
Datum *hist_values;
|
Datum *hist_values;
|
||||||
int nhist;
|
int nhist;
|
||||||
Datum *length_hist_values;
|
Datum *length_hist_values = NULL;
|
||||||
int length_nhist;
|
int length_nhist = 0;
|
||||||
RangeBound *hist_lower;
|
RangeBound *hist_lower;
|
||||||
RangeBound *hist_upper;
|
RangeBound *hist_upper;
|
||||||
int i;
|
int i;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user