summaryrefslogtreecommitdiff
path: root/src/common/timers.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/timers.c')
-rw-r--r--src/common/timers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/timers.c b/src/common/timers.c
index a590611be6..c8e09414f4 100644
--- a/src/common/timers.c
+++ b/src/common/timers.c
@@ -191,7 +191,7 @@ timers_initialize(void)
if (BUG(global_timeouts))
return; // LCOV_EXCL_LINE
- timeout_error_t err;
+ timeout_error_t err = 0;
global_timeouts = timeouts_open(0, &err);
if (!global_timeouts) {
// LCOV_EXCL_START -- this can only fail on malloc failure.