From d253c9954f1ac8e3c6624613eb5349c5dbbe3b3a Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 10 Feb 2025 17:38:08 +0000 Subject: [PATCH] strings: Remove an unused variable Signed-off-by: Michael Tremer --- src/pakfire/string.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pakfire/string.c b/src/pakfire/string.c index 0563f455..f7508446 100644 --- a/src/pakfire/string.c +++ b/src/pakfire/string.c @@ -654,8 +654,6 @@ int __pakfire_strftime_now(char* buffer, size_t length, const char* format) { #pragma GCC diagnostic pop int __pakfire_format_time(char* buffer, const size_t length, const time_t t) { - const char* format = NULL; - // Values smaller than zero for t are invalid if (t < 0) return -EINVAL; -- 2.39.5