summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/latency.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/latency.c b/src/latency.c
index 8d6d7c04a..a8f7c01d1 100644
--- a/src/latency.c
+++ b/src/latency.c
@@ -145,7 +145,7 @@ sds latencyCommandGenSparkeline(char *event, struct latencyTimeSeries *ts) {
int j;
struct sequence *seq = createSparklineSequence();
sds graph = sdsempty();
- uint32_t min, max;
+ uint32_t min = 0, max = 0;
for (j = 0; j < LATENCY_TS_LEN; j++) {
int i = (ts->idx + j) % LATENCY_TS_LEN;