diff options
| author | Ben Gamari <ben@smart-cactus.org> | 2022-01-26 19:25:02 +0000 |
|---|---|---|
| committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-01-29 02:40:45 -0500 |
| commit | bb15c34784a3143ef048807fd351667d6775e399 (patch) | |
| tree | b32c283d6ce7beb3b963ff7d38f91d9cc88cff9d | |
| parent | 2e29edb7421c21902b47d130d45f60d3f584a0de (diff) | |
| download | haskell-bb15c34784a3143ef048807fd351667d6775e399.tar.gz | |
rts/eventlog: Ensure that flushCount is initialized
| -rw-r--r-- | rts/eventlog/EventLog.c | 2 |
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. // |
