diff options
author | stbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9> | 2010-12-30 14:39:35 +0000 |
---|---|---|
committer | stbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9> | 2010-12-30 14:39:35 +0000 |
commit | 8748d6ea0cd70f6bcdbc7e7b46e1325d62c6236d (patch) | |
tree | fe4b470cf13033775adf72845960858a4a819fab | |
parent | 28596e39f3e29fc3043ace71cfb363b2146c0ff4 (diff) | |
download | lighttpd-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.c | 2 | ||||
-rw-r--r-- | src/http_auth.c | 2 |
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" |