mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/native: add braces to condition
This commit is contained in:
parent
8b58e55580
commit
8ec1934226
@ -339,8 +339,9 @@ char *make_message(const char *format, va_list argp)
|
||||
free(message);
|
||||
return NULL;
|
||||
}
|
||||
if (n < size)
|
||||
if (n < size) {
|
||||
return message;
|
||||
}
|
||||
size = n + 1;
|
||||
if ((temp = realloc(message, size)) == NULL) {
|
||||
free(message);
|
||||
|
Loading…
Reference in New Issue
Block a user