summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9>2010-12-30 14:39:35 +0000
committerstbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9>2010-12-30 14:39:35 +0000
commit8748d6ea0cd70f6bcdbc7e7b46e1325d62c6236d (patch)
treefe4b470cf13033775adf72845960858a4a819fab
parent28596e39f3e29fc3043ace71cfb363b2146c0ff4 (diff)
downloadlighttpd-8748d6ea0cd70f6bcdbc7e7b46e1325d62c6236d.tar.gz
Fix some warnings
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@2776 152afb58-edef-0310-8abb-c4023f1b3aa9
-rw-r--r--src/data_string.c2
-rw-r--r--src/http_auth.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/data_string.c b/src/data_string.c
index a4bc31cf..1b9da692 100644
--- a/src/data_string.c
+++ b/src/data_string.c
@@ -69,8 +69,8 @@ static int data_response_insert_dup(data_unset *dst, data_unset *src) {
static void data_string_print(const data_unset *d, int depth) {
data_string *ds = (data_string *)d;
- UNUSED(depth);
unsigned int i = 0;
+ UNUSED(depth);
// empty and uninitialized strings
if (ds->value->used < 1) {
diff --git a/src/http_auth.c b/src/http_auth.c
index 52f44ef1..b02f0233 100644
--- a/src/http_auth.c
+++ b/src/http_auth.c
@@ -29,6 +29,8 @@
#include "http_auth_digest.h"
#include "stream.h"
+#include "inet_ntop_cache.h"
+
#include "sys-strings.h"
#include "sys-files.h"