1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-05 05:14:13 +01:00

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]
This commit is contained in:
David Maciejak
2023-02-11 08:38:33 +08:00
committed by Carlos R. Mafra
parent 2a14004fc3
commit 812930b7cd

View File

@@ -422,7 +422,7 @@ static char *get_icon_cache_path(void)
{ {
const char *prefix; const char *prefix;
char *path; char *path;
int len, ret; int ret;
prefix = wuserdatapath(); prefix = wuserdatapath();
path = wstrconcat(prefix, CACHE_ICON_PATH "/"); path = wstrconcat(prefix, CACHE_ICON_PATH "/");