From 1f92b5f1501d59b6c186ac1446693c97a24c3db6 Mon Sep 17 00:00:00 2001 From: Joseph Sutton Date: Thu, 28 Sep 2023 16:39:07 +1300 Subject: [PATCH] lib/util: Fix building with FORTIFY_SOURCE=2 Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- lib/util/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/debug.c b/lib/util/debug.c index 0e13fa564e3..6872f2dfe46 100644 --- a/lib/util/debug.c +++ b/lib/util/debug.c @@ -1291,7 +1291,7 @@ bool reopen_logs_internal(void) struct debug_backend *b = NULL; mode_t oldumask; size_t i; - bool ok; + bool ok = true; if (state.reopening_logs) { return true; -- 2.47.3