summaryrefslogtreecommitdiff
path: root/src/mod_webdav.c
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2008-04-29 11:03:26 +0000
committerStefan Bühler <stbuehler@web.de>2008-04-29 11:03:26 +0000
commit5a9992b10614553e73b35666b2f73d0e45ee0de1 (patch)
treeccefb7846efc0fbadc6ce8f5143eb8a35b1ba456 /src/mod_webdav.c
parent7adc4d7e8c3934db123efdb9bbf08a3ce4e2e359 (diff)
downloadlighttpd-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.c6
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;