mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-12 19:49:32 +02:00
Suppress spurious warning from clangd
This commit is contained in:
2
glfw/internal.h
vendored
2
glfw/internal.h
vendored
@@ -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) */ \
|
||||
}}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user