From 4d4973abcc7691a1e0416c698cad061080db4aca Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sat, 13 Jun 2020 17:57:31 +0200 Subject: [PATCH] Fix warning --- m-core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m-core.h b/m-core.h index 5d49ace4..e13f8ffd 100644 --- a/m-core.h +++ b/m-core.h @@ -3093,7 +3093,7 @@ M_IN_SERIAL_DEFAULT_TYPE_DEF(m_core_in_serial_ldouble, long double, read_float, * because of expanded code will call strlen with NULL (which is illegal) * However, the branch where it is called is unreachable, so the warning * is not justified. */ -static size_t +static inline size_t m_core_out_serial_strlen(const char s[]) { assert(s != NULL);