fixeria has uploaded this change for review.
flags: ensure completeness of bts_impl_flag_desc[]
Change-Id: I049df344c8c0b0d6cd122e2f2d705e0f7ee5990c
---
M src/common/bts.c
1 file changed, 12 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/34/32334/1
diff --git a/src/common/bts.c b/src/common/bts.c
index bf273b5..18f8a8f 100644
--- a/src/common/bts.c
+++ b/src/common/bts.c
@@ -207,6 +207,9 @@
{ 0, NULL }
};
+/* Ensure that all BTS_INTERNAL_FLAG_* entries are present in bts_impl_flag_desc[] */
+osmo_static_assert(ARRAY_SIZE(bts_impl_flag_desc) == _BTS_INTERNAL_FLAG_NUM, _bts_impl_flag_desc);
+
static int gsm_bts_talloc_destructor(struct gsm_bts *bts)
{
if (bts->mo.fi) {
To view, visit change 32334. To unsubscribe, or for help writing mail filters, visit settings.