diff --git a/platform/source/minimal-printf/mbed_printf_implementation.c b/platform/source/minimal-printf/mbed_printf_implementation.c index 1e9d9548c91a..e473b201b628 100644 --- a/platform/source/minimal-printf/mbed_printf_implementation.c +++ b/platform/source/minimal-printf/mbed_printf_implementation.c @@ -265,8 +265,7 @@ static void mbed_minimal_formatted_string_double(char *buffer, size_t length, in MBED_SIGNED_STORAGE integer = value; /* write sign if integer part is zero and value is negative */ - if ((value < 0.0) && (integer == 0)) - { + if ((value < 0.0) && (integer == 0)) { /* write sign */ mbed_minimal_putchar(buffer, length, result, '-', stream); }