mirror of
https://github.com/curl/curl.git
synced 2026-07-27 08:27:19 +03:00
style-bot
This commit is contained in:
parent
be61f9db1b
commit
6ff518d9e0
1 changed files with 1 additions and 4 deletions
|
|
@ -141,13 +141,10 @@ static void mbed_debug(void *context, int level, const char *f_name,
|
|||
int line_nb, const char *line)
|
||||
{
|
||||
struct Curl_easy *data = (struct Curl_easy *)context;
|
||||
size_t len = line ? strlen(line) : 0;
|
||||
(void)level;
|
||||
(void)line_nb;
|
||||
(void)f_name;
|
||||
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