diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-05-09 12:57:09 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-12-13 14:12:02 +0100 |
commit | 3ac370d79120d166859c04bb2d5ab043bdba4c0a (patch) | |
tree | 1f59cba63700a71857044c69d3c34a3c881bf54a /curl-wrap.c | |
parent | 2fdc44f69750b44ab7b1a5fb5f3a447c3607038b (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); |