lapd_test.c: Convert compilation warning to level message

This way we clean the build of warnings completely and we can enable
-Werror but we still see this FIXME message while compiling.

Change-Id: I24c11226cd5bb5b6032f4ece7d1a0695dc82f0dd
This commit is contained in:
Pau Espin 2017-06-18 10:58:10 +02:00
parent e05c1f45ed
commit 35c6fb3723
1 changed files with 1 additions and 1 deletions

View File

@ -358,7 +358,7 @@ static int ms_to_bts_tx_cb(struct msgb *msg, struct lapdm_entity *le, void *_ctx
/* Verify the added RSL_IE_L3_INFO but we have a bug here */
OSMO_ASSERT(msg->data[6] == RSL_IE_L3_INFO);
#warning "RSL_IE_L3_INFO 16 bit length is wrong"
#pragma message ("RSL_IE_L3_INFO 16 bit length is wrong")
/* This should be okay but it is actually 0x0, 0x9c on ia-32 */
/* OSMO_ASSERT(msg->data[7] == 0x0 && msg->data[8] == 0x0); */
} else if (state->ms_read == 1) {