From 11bbd055331acded427b38f449982ad4b0b57283 Mon Sep 17 00:00:00 2001 From: Brendan Le Foll Date: Tue, 11 Oct 2016 08:48:47 +0100 Subject: [PATCH] mraa.c: Add MRAA_SUCCESS return to mraa_remove_subplatform Signed-off-by: Brendan Le Foll --- src/mraa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mraa.c b/src/mraa.c index 2bb98d8..3d2a612 100644 --- a/src/mraa.c +++ b/src/mraa.c @@ -1051,6 +1051,7 @@ mraa_remove_subplatform(mraa_platform_t subplatformtype) free(plat->sub_platform->adv_func); free(plat->sub_platform->pins); free(plat->sub_platform); + return MRAA_SUCCESS; } #endif return MRAA_ERROR_INVALID_PARAMETER;