From 3d60600897f13b47407bf3932ff037f9f1c2783e Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Wed, 20 Jan 2021 17:57:44 +0100 Subject: config: selection-target: space-optimize the static ‘value’ array MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.c b/config.c index fa2646fa..81b329cf 100644 --- a/config.c +++ b/config.c @@ -674,7 +674,7 @@ parse_section_main(const char *key, const char *value, struct config *conf, } else if (strcmp(key, "selection-target") == 0) { - static const char *const values[] = { + static const char values[][12] = { [SELECTION_TARGET_NONE] = "none", [SELECTION_TARGET_PRIMARY] = "primary", [SELECTION_TARGET_CLIPBOARD] = "clipboard", -- cgit v1.3