mirror of
https://github.com/curl/curl.git
synced 2026-07-27 08:27:19 +03:00
yet more style-bot
This commit is contained in:
parent
8d7aa2cc6b
commit
be61f9db1b
1 changed files with 4 additions and 1 deletions
|
|
@ -144,7 +144,10 @@ static void mbed_debug(void *context, int level, const char *f_name,
|
|||
(void)level;
|
||||
(void)line_nb;
|
||||
(void)f_name;
|
||||
size_t len = line ? strlen(line) : 0;
|
||||
size_t len = 0;
|
||||
|
||||
if(line)
|
||||
len = strlen(line);
|
||||
|
||||
/* bail out on nowhere to write data
|
||||
or if data is empty */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue