mdbx: fix unused warning for Wpedantic_format_voidptr().

Change-Id: I3ac5f83ceb8f9aa28deb56d983595fc55bfcfa93
This commit is contained in:
Leonid Yuriev 2019-11-10 00:41:03 +03:00
parent 353def5c29
commit df44539486

View File

@ -348,7 +348,7 @@ typedef _Complex float __cfloat128 __attribute__ ((__mode__ (__TC__)));
#endif /* __anonymous_struct_extension__ */
#ifndef __Wpedantic_format_voidptr
static __inline const void* __pure_function
static __inline __maybe_unused const void* __pure_function
__Wpedantic_format_voidptr(const void* ptr) {return ptr;}
# define __Wpedantic_format_voidptr(ARG) __Wpedantic_format_voidptr(ARG)
#endif /* __Wpedantic_format_voidptr */