summaryrefslogtreecommitdiff
path: root/src/ostree/ot-builtin-trivial-httpd.c
diff options
context:
space:
mode:
authorKrzesimir Nowak <krzesimir@kinvolk.io>2016-04-19 10:43:32 +0200
committerColin Walters (automation) <walters+githubbot@verbum.org>2016-04-19 12:16:16 +0000
commit90400d3a6253e709f7210d6658662aecd8a09b45 (patch)
treec408cbb3f1d7b82d50c9fd89c8f2e5fbc408fd2e /src/ostree/ot-builtin-trivial-httpd.c
parent925faca10880d6742cb1168235688f8c46db3bb8 (diff)
downloadostree-90400d3a6253e709f7210d6658662aecd8a09b45.tar.gz
trivial-httpd: Remove useless code
Closes: #267 Approved by: cgwalters
Diffstat (limited to 'src/ostree/ot-builtin-trivial-httpd.c')
-rw-r--r--src/ostree/ot-builtin-trivial-httpd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ostree/ot-builtin-trivial-httpd.c b/src/ostree/ot-builtin-trivial-httpd.c
index 038559bb..07d02fb9 100644
--- a/src/ostree/ot-builtin-trivial-httpd.c
+++ b/src/ostree/ot-builtin-trivial-httpd.c
@@ -305,9 +305,6 @@ httpd_callback (SoupServer *server, SoupMessage *msg,
SoupClientContext *context, gpointer data)
{
OtTrivialHttpd *self = data;
- SoupMessageHeadersIter iter;
-
- soup_message_headers_iter_init (&iter, msg->request_headers);
if (msg->method == SOUP_METHOD_GET || msg->method == SOUP_METHOD_HEAD)
do_get (self, server, msg, path, context);