=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/options-table.c,v retrieving revision 1.68 retrieving revision 1.69 diff -u -r1.68 -r1.69 --- src/usr.bin/tmux/options-table.c 2015/11/22 18:28:01 1.68 +++ src/usr.bin/tmux/options-table.c 2015/11/24 09:34:55 1.69 @@ -1,4 +1,4 @@ -/* $OpenBSD: options-table.c,v 1.68 2015/11/22 18:28:01 tim Exp $ */ +/* $OpenBSD: options-table.c,v 1.69 2015/11/24 09:34:55 nicm Exp $ */ /* * Copyright (c) 2011 Nicholas Marriott @@ -892,6 +892,8 @@ 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) {