summaryrefslogtreecommitdiffstats
path: root/lib/escape.c
diff options
context:
space:
mode:
authorCurl Upstream <curl-library@cool.haxx.se>2017-04-19 05:41:40 (GMT)
committerBrad King <brad.king@kitware.com>2017-05-11 15:26:45 (GMT)
commitfd7d521c9d70655618db8232d45e5aaf81700f91 (patch)
tree3bc749b90e932d6f220d7e1d33d6e0449def135c /lib/escape.c
parent4cc2908fdaaf1ab8afe5c2ae5dbb3401859a9aab (diff)
downloadCMake-fd7d521c9d70655618db8232d45e5aaf81700f91.zip
CMake-fd7d521c9d70655618db8232d45e5aaf81700f91.tar.gz
CMake-fd7d521c9d70655618db8232d45e5aaf81700f91.tar.bz2
curl 2017-04-19 (d957e218)
Code extracted from: https://github.com/curl/curl.git at commit d957e2189fdc73cef0ff3d1fb58043d354754449 (curl-7_54_0).
Diffstat (limited to 'lib/escape.c')
-rw-r--r--lib/escape.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/escape.c b/lib/escape.c
index 9c811b8..973aeb6 100644
--- a/lib/escape.c
+++ b/lib/escape.c
@@ -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);