From 0e884f793a20e97ea25de9dc7102e4330d053c35 Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Mon, 8 Dec 2014 22:42:44 +0100 Subject: [PATCH] util: remove local constants GLOBAL_DEFAULTS_SUBDIR that are not used As pointed by gcc, this macro is not used anywhere in the 2 files. Because the code also suggests that they should be inherited from any other place anyway, remove them from the file to prevent them from being used in the future. Signed-off-by: Christophe CURIS --- util/getstyle.c | 3 --- util/wmsetbg.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/util/getstyle.c b/util/getstyle.c index da211acb..f0de4c49 100644 --- a/util/getstyle.c +++ b/util/getstyle.c @@ -54,9 +54,6 @@ #include "../src/wconfig.h" -#ifndef GLOBAL_DEFAULTS_SUBDIR -#define GLOBAL_DEFAULTS_SUBDIR "WindowMaker" -#endif /* table of style related options */ static char *options[] = { diff --git a/util/wmsetbg.c b/util/wmsetbg.c index aee1b567..7253517e 100644 --- a/util/wmsetbg.c +++ b/util/wmsetbg.c @@ -53,9 +53,6 @@ #include "../src/wconfig.h" -#ifndef GLOBAL_DEFAULTS_SUBDIR -#define GLOBAL_DEFAULTS_SUBDIR "WindowMaker" -#endif #include #include