commit 192f458f97645323c7cbbebc42f51a12247215f7
parent a2216c84b02eedeeca666be5fb5877490938a2db
Author: Joris Vink <joris@coders.se>
Date: Mon, 18 Jan 2016 11:43:44 +0100
remove unused variable.
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/http.c b/src/http.c
@@ -952,7 +952,7 @@ http_populate_get(struct http_request *req)
void
http_populate_multipart_form(struct http_request *req)
{
- int h, blen, count;
+ int h, blen;
struct kore_buf *in, *out;
char *type, *val, *args[3];
char boundary[HTTP_BOUNDARY_MAX];
@@ -984,8 +984,6 @@ http_populate_multipart_form(struct http_request *req)
if (!multipart_find_data(in, NULL, NULL, req, boundary, blen))
goto cleanup;
- count = 0;
-
for (;;) {
if (!multipart_find_data(in, NULL, NULL, req, "\r\n", 2))
break;