aboutsummaryrefslogtreecommitdiff
path: root/options-table.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-11-24 10:01:13 +0000
committerThomas Adam <thomas@xteddy.org>2015-11-24 10:01:13 +0000
commit534f9e3ab1a8cd8c10b7546b72e28095ba13b26e (patch)
tree93aed6f48ab75606b1ed40f04b4a7465520f5b11 /options-table.c
parent3f47ff6ecd7c126474c77d03f7886b7ef232d468 (diff)
parentb32ce34cf2b5e48eab4f626f378d50f365b594a3 (diff)
downloadrtmux-534f9e3ab1a8cd8c10b7546b72e28095ba13b26e.tar.gz
rtmux-534f9e3ab1a8cd8c10b7546b72e28095ba13b26e.tar.bz2
rtmux-534f9e3ab1a8cd8c10b7546b72e28095ba13b26e.zip
Merge branch 'obsd-master'
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/options-table.c b/options-table.c
index 054b2700..ab61ef79 100644
--- a/options-table.c
+++ b/options-table.c
@@ -891,6 +891,8 @@ options_table_populate_tree(enum options_table_scope scope, struct options *oo)
const struct options_table_entry *oe;
for (oe = options_table; oe->name != NULL; oe++) {
+ if (oe->scope == OPTIONS_TABLE_NONE)
+ fatalx("no scope for %s", oe->name);
if (oe->scope != scope)
continue;
switch (oe->type) {