summaryrefslogtreecommitdiff
path: root/src/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/setup.c')
-rw-r--r--src/setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/setup.c b/src/setup.c
index 30a5401..d2618ad 100644
--- a/src/setup.c
+++ b/src/setup.c
@@ -22,6 +22,8 @@ int setup_interactively(til_settings_t *settings, int (*setup_func)(const til_se
/* TODO: regex and error handling */
while ((r = setup_func(settings, &setting, &desc, res_setup)) > 0) {
+ assert(desc);
+
additions++;
/* if setup_func() has returned a description for an undescribed preexisting setting,
© All Rights Reserved