mirror of
https://github.com/fluencelabs/redis
synced 2025-03-21 01:50:50 +00:00
made constant static
This commit is contained in:
parent
633983d479
commit
44698f45e7
@ -1009,7 +1009,7 @@ uint64_t hllCount(struct hllhdr *hdr, int *invalid) {
|
|||||||
double m = HLL_REGISTERS;
|
double m = HLL_REGISTERS;
|
||||||
double E;
|
double E;
|
||||||
int j;
|
int j;
|
||||||
double alphaInf = 0.5 / log(2.);
|
static double alphaInf = 0.5 / log(2.);
|
||||||
int regHisto[HLL_Q+2] = {0};
|
int regHisto[HLL_Q+2] = {0};
|
||||||
|
|
||||||
/* Compute register histogram */
|
/* Compute register histogram */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user