summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rts/eventlog/EventLog.c2
1 files changed, 1 insertions, 1 deletions
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.
//