diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-05-09 12:57:09 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-05-09 13:01:53 +0200 |
commit | 73f8d93f0db5a960bf22e9d080283e967f6bbfb6 (patch) | |
tree | 1f59cba63700a71857044c69d3c34a3c881bf54a /curl-wrap.c | |
parent | aca86d46417a1afb198c927aea79e50a96925580 (diff) |
Documentate, formating, linting.
Change-Id: Id77b9de1b847ca26133abd87511de4e78c7d01f7
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'curl-wrap.c')
-rw-r--r-- | curl-wrap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/curl-wrap.c b/curl-wrap.c index 851eeb7..4e0c831 100644 --- a/curl-wrap.c +++ b/curl-wrap.c @@ -36,7 +36,7 @@ struct buffer { static const char* curl_concatenate_args(const char * const *args, const char *sep, size_t *length) { int i; - size_t lq, l; + size_t lq; const char *null; char *result, *front; @@ -62,7 +62,6 @@ static const char* curl_concatenate_args(const char * const *args, const char *s /* make the resulting args string contenated */ i = 0; front = result; - l = 0; while (args[i]) { if (i) { front = stpcpy(front, sep); |