mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:41:40 +03:00
Improve code readbility
... by removing the else branch after a return, break or continue. Closes #1310
This commit is contained in:
parent
db87bcfcf2
commit
66de563482
37 changed files with 405 additions and 496 deletions
|
|
@ -113,9 +113,7 @@ char *curl_easy_escape(struct Curl_easy *data, const char *string,
|
|||
testing_ptr = Curl_saferealloc(ns, alloc);
|
||||
if(!testing_ptr)
|
||||
return NULL;
|
||||
else {
|
||||
ns = testing_ptr;
|
||||
}
|
||||
ns = testing_ptr;
|
||||
}
|
||||
|
||||
result = Curl_convert_to_network(data, &in, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue