From 41734a1f2aa3ea2eb67f1e191fc11413243e86a8 Mon Sep 17 00:00:00 2001 From: Krzysztof Stachowiak Date: Thu, 13 Sep 2018 15:04:31 +0200 Subject: [PATCH] Return an error code from a dummy function --- library/platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/platform.c b/library/platform.c index 7d0569bb73..4f8e40f309 100644 --- a/library/platform.c +++ b/library/platform.c @@ -155,7 +155,7 @@ static int platform_vsnprintf_uninit( char * s, size_t n, ((void) n); ((void) format); ((void) arg); - return( 0 ); + return( -1 ); } #define MBEDTLS_PLATFORM_STD_VSNPRINTF platform_vsnprintf_uninit