We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80fa66f commit a766884Copy full SHA for a766884
src/libwolfboot.c
@@ -176,18 +176,10 @@ static const uint32_t wolfboot_magic_trail = WOLFBOOT_MAGIC_TRAIL;
176
#include <string.h>
177
static uint8_t NVM_CACHE[NVM_CACHE_SIZE] __attribute__((aligned(16)));
178
static int nvm_cached_sector = 0;
179
-
180
-#ifdef __GNUC__
181
- #pragma GCC diagnostic push
182
- #pragma GCC diagnostic ignored "-Warray-bounds"
183
-#endif
184
static uint8_t get_base_offset(uint8_t *base, uintptr_t off)
185
{
186
return *(base - off); /* ignore array bounds error */
187
}
188
189
- #pragma GCC diagnostic pop
190
191
192
void WEAKFUNCTION hal_cache_invalidate(void)
193
0 commit comments