sim: common: add basic model assert
authorMike Frysinger <vapier@gentoo.org>
Sat, 20 Jun 2015 09:36:26 +0000 (15:21 +0545)
committerMike Frysinger <vapier@gentoo.org>
Sun, 21 Jun 2015 17:56:24 +0000 (13:56 -0400)
commitccd4b2953bb039e91b301a616c5f7c6f542b6b10
tree12330d9581425b0dc8dfe659cb6028c90354a4b7
parentf55b33d51b056c665568c6204bd3ced7f1ec15c8
sim: common: add basic model assert

If the configured in default doesn't match a known value, throw an
assertion failure rather than segfaulting deeper down.
sim/common/ChangeLog
sim/common/sim-model.c