Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 68568 invoked from network); 28 Aug 2003 05:42:32 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 28 Aug 2003 05:42:32 -0000 Received: (qmail 95005 invoked by uid 500); 28 Aug 2003 05:41:14 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 94938 invoked by uid 500); 28 Aug 2003 05:41:14 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 94874 invoked by uid 500); 28 Aug 2003 05:41:13 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Received: (qmail 94846 invoked from network); 28 Aug 2003 05:41:13 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 28 Aug 2003 05:41:13 -0000 Received: (qmail 68123 invoked by uid 1259); 28 Aug 2003 05:41:32 -0000 Date: 28 Aug 2003 05:41:32 -0000 Message-ID: <20030828054132.68122.qmail@minotaur.apache.org> From: jwoolley@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/modules/dav/lock locks.c mod_dav_lock.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N jwoolley 2003/08/27 22:41:32 Modified: modules/dav/lock locks.c mod_dav_lock.c Log: axe some warnings: mod_dav_lock.c:72: warning: no previous prototype for `dav_generic_get_lockdb_path' locks.c: In function `dav_generic_really_open_lockdb': locks.c:356: warning: unused variable `db' locks.c: In function `dav_generic_load_lock_record': locks.c:606: warning: unused variable `buf' locks.c: In function `dav_generic_remove_lock': locks.c:1081: warning: unused variable `buf' Revision Changes Path 1.2 +0 -3 httpd-2.0/modules/dav/lock/locks.c Index: locks.c =================================================================== RCS file: /home/cvs/httpd-2.0/modules/dav/lock/locks.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -u -r1.1 -r1.2 --- locks.c 4 Jan 2003 23:19:39 -0000 1.1 +++ locks.c 28 Aug 2003 05:41:32 -0000 1.2 @@ -353,7 +353,6 @@ { dav_error *err; apr_status_t status; - apr_dbm_t *db; if (lockdb->info->opened) { return NULL; @@ -603,7 +602,6 @@ apr_datum_t val = { 0 }; dav_lock_discovery *dp; dav_lock_indirect *ip; - dav_buffer buf = { 0 }; if (add_method != DAV_APPEND_LIST) { *direct = NULL; @@ -1078,7 +1076,6 @@ const dav_locktoken *locktoken) { dav_error *err; - dav_buffer buf = { 0 }; dav_lock_discovery *dh = NULL; dav_lock_indirect *ih = NULL; apr_datum_t key; 1.2 +1 -0 httpd-2.0/modules/dav/lock/mod_dav_lock.c Index: mod_dav_lock.c =================================================================== RCS file: /home/cvs/httpd-2.0/modules/dav/lock/mod_dav_lock.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -u -r1.1 -r1.2 --- mod_dav_lock.c 4 Jan 2003 23:19:39 -0000 1.1 +++ mod_dav_lock.c 28 Aug 2003 05:41:32 -0000 1.2 @@ -58,6 +58,7 @@ #include "ap_provider.h" #include "mod_dav.h" +#include "locks.h" /* per-dir configuration */ typedef struct {