Suppress spurious warning from clangd

This commit is contained in:
Kovid Goyal
2024-03-30 11:37:01 +05:30
parent ce035361e8
commit 7796c15248

2
glfw/internal.h vendored
View File

@@ -209,7 +209,7 @@ typedef void (APIENTRY * PFN_vkVoidFunction)(void);
#define remove_i_from_array(array, i, count) { \
(count)--; \
if ((i) < (count)) { \
memmove((array) + (i), (array) + (i) + 1, sizeof((array)[0]) * ((count) - (i))); \
memmove((array) + (i), (array) + (i) + 1, sizeof((array)[0]) * ((count) - (i))); /* NOLINT(bugprone-sizeof-expression) */ \
}}