From 016686a71e3403ca1de914fa84c16f3dac92e014 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Sun, 2 Jan 2022 18:53:03 +0100 Subject: [PATCH] [config] value was unused --- src/config/conf.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/config/conf.c b/src/config/conf.c index 76b7bec2..824ec6da 100644 --- a/src/config/conf.c +++ b/src/config/conf.c @@ -1316,10 +1316,8 @@ void set_option_or_save(const char *str) { #define NUMKVPAIRS 16 -#define VALSIZE 4096 int i; - char * kvpairs[NUMKVPAIRS]; - char value[VALSIZE]; + char *kvpairs[NUMKVPAIRS]; char *option_name; char *option_value; char *set; @@ -1363,5 +1361,4 @@ set_option_or_save(const char *str) } done_string(&tmp); #undef NUMKVPAIRS -#undef VALSIZE }