aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-07-21 09:22:19 +0200
committerHarald Welte <laforge@gnumonks.org>2019-07-21 09:25:18 +0200
commitcfd6ac646224c59fc3f46c9e4ef9f7fecb6c1407 (patch)
tree184e46188e60e1281f84b1a2025a7e4dff249027
parentc30d8be91930edd585a80a2f233e4ff6abeba8a2 (diff)
tdef: remove bogus OSMO_ASSERT(unsigned long >= 0)
Change-Id: I7a544d2d43b83135def296674f777e48fe5fd80a Closes: CID#190866
-rw-r--r--src/tdef.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tdef.c b/src/tdef.c
index 9d5d7363..3cfb17c0 100644
--- a/src/tdef.c
+++ b/src/tdef.c
@@ -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);