summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2017-06-18 10:58:10 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2017-06-21 13:56:37 +0000
commit35c6fb3723b5597b000339679cf40a6d2235a793 (patch)
tree538ac3c187d50f30f87a91546c6893c3997930a8 /tests
parente05c1f45ed9d6d64eb5f6a2ec0f3659e003699f4 (diff)
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
Diffstat (limited to 'tests')
-rw-r--r--tests/lapd/lapd_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lapd/lapd_test.c b/tests/lapd/lapd_test.c
index e3223143..0dccaa41 100644
--- a/tests/lapd/lapd_test.c
+++ b/tests/lapd/lapd_test.c
@@ -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) {