| Date: Tue, 9 Nov 2021 00:26:41 +0100
config: Declare variable only where actually needed
Diffstat:
M config.def.h | 4 ++++
M sacc.c | 2 ++
2 files changed, 6 insertions(+), 0 deletions(-)
--- |
| t@@ -20,6 +20,8 @@
#define _key_searchnext 'n' /* search same string forward */
#define _key_searchprev 'N' /* search same string backward */
+#ifdef NEED_CONF
+
/* default plumber */
static char *plumber = "xdg-open";
t@@ -50,3 +52,5 @@ static char *typestr[] = {
[UNK] = " ? +",
[BRK] = "! |", /* malformed entry */
};
+
+#endif /* NEED_CONF */ |