diff --git a/platform/source/mbed_error.c b/platform/source/mbed_error.c index e8abec70c5..e56263eba5 100644 --- a/platform/source/mbed_error.c +++ b/platform/source/mbed_error.c @@ -197,7 +197,7 @@ static mbed_error_status_t handle_error(mbed_error_status_t error_status, unsign //Call the error hook if available if (error_hook != NULL) { error_hook(&last_error_ctx); - { else { + } else { mbed_error_hook(&last_error_ctx); }