From 812930b7cd9896b837ec1acb67014458562aca9e Mon Sep 17 00:00:00 2001 From: David Maciejak Date: Sat, 11 Feb 2023 08:38:33 +0800 Subject: [PATCH] Fix icon.c unused variable compiler warning Just to please the compiler as it's reporting: icon.c: In function 'get_icon_cache_path': icon.c:425:13: warning: unused variable 'len' [-Wunused-variable] --- src/icon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/icon.c b/src/icon.c index 74085512..943e2d84 100644 --- a/src/icon.c +++ b/src/icon.c @@ -422,7 +422,7 @@ static char *get_icon_cache_path(void) { const char *prefix; char *path; - int len, ret; + int ret; prefix = wuserdatapath(); path = wstrconcat(prefix, CACHE_ICON_PATH "/");