tests: fix build warning

FMT_NSTD_BEGIN should be before the first use of "expr".

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
This commit is contained in:
Igor Ryzhov 2021-04-26 11:23:47 +03:00
parent d8c3daca19
commit faaa943137

View File

@ -305,8 +305,8 @@ struct va_format {
#define FMT_NSTD(expr) \
({ \
typeof(expr) _v; \
FMT_NSTD_BEGIN \
typeof(expr) _v; \
_v = expr; \
FMT_NSTD_END \
_v; \