From 35c6fb3723b5597b000339679cf40a6d2235a793 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Sun, 18 Jun 2017 10:58:10 +0200 Subject: 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 --- tests/lapd/lapd_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/lapd') 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) { -- cgit v1.2.3