diff options
author | Harald Welte <laforge@gnumonks.org> | 2019-07-21 09:22:19 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-07-21 09:25:18 +0200 |
commit | cfd6ac646224c59fc3f46c9e4ef9f7fecb6c1407 (patch) | |
tree | 184e46188e60e1281f84b1a2025a7e4dff249027 | |
parent | c30d8be91930edd585a80a2f233e4ff6abeba8a2 (diff) |
tdef: remove bogus OSMO_ASSERT(unsigned long >= 0)
Change-Id: I7a544d2d43b83135def296674f777e48fe5fd80a
Closes: CID#190866
-rw-r--r-- | src/tdef.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -187,7 +187,6 @@ unsigned long osmo_tdef_get(const struct osmo_tdef *tdefs, int T, enum osmo_tdef { const struct osmo_tdef *t = osmo_tdef_get_entry((struct osmo_tdef*)tdefs, T); if (!t) { - OSMO_ASSERT(val_if_not_present >= 0); return val_if_not_present; } return osmo_tdef_round(t->val, t->unit, as_unit); |