1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests/net/gnrc_sixlowpan_frag_sfr: work around bug in clang

This commit is contained in:
Marian Buschsieweke 2023-05-19 22:57:39 +02:00 committed by Marian Buschsieweke
parent 708e5eadb4
commit a1acae92fa
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94

View File

@ -285,6 +285,10 @@ static const uint8_t _test_send_frag3[] = {
0x00, 0xbb, /* offset: 187 */
0x6c, 0x28, 0x16, 0x59, 0xcc, 0x06
};
/* compiler bug in clang: _loc_l2 is passed via _vrbe_base to external
* functions and may be used, but clang considers it to be unused */
__attribute__((used))
static const uint8_t _loc_l2[] = LOC_L2;
static const ipv6_addr_t _rem_ll = { .u8 = REM_LL };
static const ipv6_addr_t _rem_gb = { .u8 = REM_GB };