From 51f6d90cb4eff279750ec7f8e797ca3febe599fc Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Sun, 10 May 2026 21:07:23 +0100 Subject: [PATCH] runtime: initialize the variable gcc thinks this could be uninitialized; make it so. --- src/util/runtime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/runtime.c b/src/util/runtime.c index a7711ffc4..b37831ab8 100644 --- a/src/util/runtime.c +++ b/src/util/runtime.c @@ -110,7 +110,7 @@ GIT_INLINE(int) init_unlock(void) int git_runtime_init(git_runtime_init_fn init_fns[], size_t cnt) { - int ret; + int ret = 0; if (init_lock() < 0) return -1;