mdbx: переупорядочивание атрибутов для совместимости с GCC-15 в режиме C23 (backport).

This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2025-04-19 23:44:07 +03:00
parent 679c1eb939
commit 5548ef20f6
No known key found for this signature in database
GPG Key ID: 518BD10B927E8686

View File

@ -2856,7 +2856,7 @@ __cold static LSTATUS mdbx_RegGetValue(HKEY hKey, LPCSTR lpSubKey, LPCSTR lpValu
} }
#endif #endif
__cold MDBX_MAYBE_UNUSED static bool bootid_parse_uuid(bin128_t *s, const void *p, const size_t n) { MDBX_MAYBE_UNUSED __cold static bool bootid_parse_uuid(bin128_t *s, const void *p, const size_t n) {
if (n > 31) { if (n > 31) {
unsigned bits = 0; unsigned bits = 0;
for (unsigned i = 0; i < n; ++i) /* try parse an UUID in text form */ { for (unsigned i = 0; i < n; ++i) /* try parse an UUID in text form */ {