aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/connection.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-02-22 18:25:07 +0100
committerChristian Grothoff <christian@grothoff.org>2018-02-22 18:25:07 +0100
commit786887049671035a05d63ed5eaca5c30083d2050 (patch)
treee0501717235e21ded4006d867d2b3cfc0ab02cf7 /src/microhttpd/connection.c
parent7021246581ac32b6a2010bf4afd4685b54369259 (diff)
downloadlibmicrohttpd-786887049671035a05d63ed5eaca5c30083d2050.tar.gz
libmicrohttpd-786887049671035a05d63ed5eaca5c30083d2050.zip
eliminate compiler warnings from dead assignments
Diffstat (limited to 'src/microhttpd/connection.c')
-rw-r--r--src/microhttpd/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 3a2e6c43..6a58e04a 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -1478,7 +1478,6 @@ build_header_response (struct MHD_Connection *connection)
1478 must_add_keep_alive = MHD_NO; 1478 must_add_keep_alive = MHD_NO;
1479 must_add_content_length = MHD_NO; 1479 must_add_content_length = MHD_NO;
1480 response_has_close = false; 1480 response_has_close = false;
1481 response_has_keepalive = false;
1482 switch (connection->state) 1481 switch (connection->state)
1483 { 1482 {
1484 case MHD_CONNECTION_FOOTERS_RECEIVED: 1483 case MHD_CONNECTION_FOOTERS_RECEIVED:
@@ -1612,6 +1611,7 @@ build_header_response (struct MHD_Connection *connection)
1612 break; 1611 break;
1613 default: 1612 default:
1614 mhd_assert (0); 1613 mhd_assert (0);
1614 return MHD_NO;
1615 } 1615 }
1616 1616
1617 if (MHD_CONN_MUST_CLOSE != connection->keepalive) 1617 if (MHD_CONN_MUST_CLOSE != connection->keepalive)