[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 04/07: MHD_del_response_header(): removed unused variabl
From: |
gnunet |
Subject: |
[libmicrohttpd] 04/07: MHD_del_response_header(): removed unused variable |
Date: |
Mon, 05 Jul 2021 16:07:45 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 63dd1bff0fe85142967612346c7b580b9af336ac
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sun Jun 27 22:39:31 2021 +0300
MHD_del_response_header(): removed unused variable
---
src/microhttpd/response.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c
index c91125eb..5d22640a 100644
--- a/src/microhttpd/response.c
+++ b/src/microhttpd/response.c
@@ -301,7 +301,6 @@ MHD_del_response_header (struct MHD_Response *response,
const char *content)
{
struct MHD_HTTP_Header *pos;
- struct MHD_HTTP_Header *prev;
size_t header_len;
size_t content_len;
@@ -310,7 +309,6 @@ MHD_del_response_header (struct MHD_Response *response,
return MHD_NO;
header_len = strlen (header);
content_len = strlen (content);
- prev = NULL;
pos = response->first_header;
while (NULL != pos)
{
@@ -329,7 +327,6 @@ MHD_del_response_header (struct MHD_Response *response,
free (pos);
return MHD_YES;
}
- prev = pos;
pos = pos->next;
}
return MHD_NO;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] branch master updated (64e91ef6 -> e1693575), gnunet, 2021/07/05
- [libmicrohttpd] 03/07: Corrected internal doxy, gnunet, 2021/07/05
- [libmicrohttpd] 04/07: MHD_del_response_header(): removed unused variable,
gnunet <=
- [libmicrohttpd] 02/07: mhd_str: minor optimisation, gnunet, 2021/07/05
- [libmicrohttpd] 01/07: mhd_str: minor code refactoring, gnunet, 2021/07/05
- [libmicrohttpd] 06/07: Added MHD_str_remove_tokens_caseless_() function, gnunet, 2021/07/05
- [libmicrohttpd] 05/07: Added MHD_str_remove_token_caseless_() function, gnunet, 2021/07/05
- [libmicrohttpd] 07/07: response: process "Connection" header in a special manner, gnunet, 2021/07/05