mdbx: fix minor CLANG 14/15 warnings.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev)
2022-05-17 13:36:38 +03:00
parent d890d3c103
commit 70d9efdce4
2 changed files with 2 additions and 2 deletions

2
mdbx.h
View File

@@ -1898,7 +1898,7 @@ typedef enum MDBX_error_t MDBX_error_t;
* \ingroup c_err
* \deprecated Please review your code to use MDBX_UNABLE_EXTEND_MAPSIZE
* instead. */
MDBX_DEPRECATED static __inline int MDBX_MAP_RESIZED_is_deprecated() {
MDBX_DEPRECATED static __inline int MDBX_MAP_RESIZED_is_deprecated(void) {
return MDBX_UNABLE_EXTEND_MAPSIZE;
}
#define MDBX_MAP_RESIZED MDBX_MAP_RESIZED_is_deprecated()