From 514d6b99e2b094f61f95eb79cd92b75ce34a2abf Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Wed, 26 Jan 2022 19:25:02 +0000 Subject: rts/eventlog: Ensure that flushCount is initialized --- rts/eventlog/EventLog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rts/eventlog/EventLog.c b/rts/eventlog/EventLog.c index 85fd555439..ca37b441c6 100644 --- a/rts/eventlog/EventLog.c +++ b/rts/eventlog/EventLog.c @@ -95,7 +95,7 @@ static eventlog_init_func_t *eventlog_header_funcs = NULL; #define EVENT_LOG_SIZE 2 * (1024 * 1024) // 2MB -static int flushCount; +static int flushCount = 0; // Struct for record keeping of buffer to store event types and events. // -- cgit v1.2.1