diff options
Diffstat (limited to 'sim/common/sim-model.c')
-rw-r--r-- | sim/common/sim-model.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/common/sim-model.c b/sim/common/sim-model.c index a33bd2a..db5f323 100644 --- a/sim/common/sim-model.c +++ b/sim/common/sim-model.c @@ -204,6 +204,7 @@ sim_model_init (SIM_DESC sd) { /* Set the default model. */ const MODEL *model = sim_model_lookup (WITH_DEFAULT_MODEL); + SIM_ASSERT (model != NULL); sim_model_set (sd, NULL, model); } |