diff options
author | Stefan Bühler <stbuehler@web.de> | 2008-04-29 11:03:26 +0000 |
---|---|---|
committer | Stefan Bühler <stbuehler@web.de> | 2008-04-29 11:03:26 +0000 |
commit | 5a9992b10614553e73b35666b2f73d0e45ee0de1 (patch) | |
tree | ccefb7846efc0fbadc6ce8f5143eb8a35b1ba456 /src/mod_webdav.c | |
parent | 7adc4d7e8c3934db123efdb9bbf08a3ce4e2e359 (diff) | |
download | lighttpd-git-5a9992b10614553e73b35666b2f73d0e45ee0de1.tar.gz |
Fixed many warnings (compare (un)signed, unused vars, and initialize with zero)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2160 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/mod_webdav.c')
-rw-r--r-- | src/mod_webdav.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mod_webdav.c b/src/mod_webdav.c index 1432618e..11675299 100644 --- a/src/mod_webdav.c +++ b/src/mod_webdav.c @@ -1154,6 +1154,7 @@ int webdav_has_lock(server *srv, connection *con, plugin_data *p, buffer *uri) { int has_lock = 1; #ifdef USE_LOCKS + UNUSED(srv); data_string *ds; /** @@ -1192,6 +1193,11 @@ int webdav_has_lock(server *srv, connection *con, plugin_data *p, buffer *uri) { has_lock = 0; } } +#else + UNUSED(srv); + UNUSED(con); + UNUSED(p); + UNUSED(uri); #endif return has_lock; |