mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-30 22:47:16 +08:00
mdbx: новый/поправленный clang-format.
This commit is contained in:
parent
a430b3b288
commit
cb743d44fc
2
mdbx.h
2
mdbx.h
@ -559,7 +559,7 @@ typedef mode_t mdbx_mode_t;
|
||||
} \
|
||||
MDBX_NOSANITIZE_ENUM MDBX_CXX01_CONSTEXPR ENUM operator&(unsigned a, \
|
||||
ENUM b) { \
|
||||
return ENUM(a & unsigned(b)); \
|
||||
return ENUM(a &unsigned(b)); \
|
||||
} \
|
||||
MDBX_NOSANITIZE_ENUM MDBX_CXX14_CONSTEXPR ENUM &operator&=(ENUM &a, \
|
||||
ENUM b) { \
|
||||
|
@ -580,8 +580,8 @@ static void histogram_acc(const size_t n, struct MDBX_chk_histogram *p) {
|
||||
// использованы еще не все слоты, добавляем интервал
|
||||
assert(i < size);
|
||||
if (p->ranges[i].count) {
|
||||
assert(i < last);
|
||||
// раздвигаем
|
||||
assert(i < last);
|
||||
#ifdef __COVERITY__
|
||||
if (i < last) /* avoid Coverity false-positive issue */
|
||||
#endif /* __COVERITY__ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user