summaryrefslogtreecommitdiff
path: root/src/til_settings.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-06-13 18:27:10 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-06-13 23:27:20 -0700
commit3e3032cfa044268cee76735823755db274025021 (patch)
treeead68726685be0e1b6fdccd5c78f132dfb093517 /src/til_settings.c
parent2825d01bf16f8b22f8eb9b92b2c21a654c13e563 (diff)
*: smattering of random small fixes to silence -Wall
I thought the build was already using -Wall but that seems to not be the case, maybe got lost somewhere along the line or messed up in configure.ac After forcing a build with -Wall -Werror, these showed up. Fixed up in the obvious way, nothing too scary.
Diffstat (limited to 'src/til_settings.c')
-rw-r--r--src/til_settings.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/til_settings.c b/src/til_settings.c
index fe4546b..2985635 100644
--- a/src/til_settings.c
+++ b/src/til_settings.c
@@ -85,7 +85,6 @@ til_settings_t * til_settings_new(const char *prefix, const til_settings_t *pare
const char *p;
til_settings_t *settings;
til_str_t *value_str;
- char *value_buf;
assert(label);
@@ -719,4 +718,6 @@ int til_settings_fprint_path(const til_settings_t *settings, FILE *out)
r = -EPIPE;
free(buf);
+
+ return r;
}
© All Rights Reserved