httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwool...@apache.org
Subject cvs commit: httpd-2.0/modules/dav/lock locks.c mod_dav_lock.c
Date Thu, 28 Aug 2003 05:41:32 GMT
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 {
  
  
  

Mime
View raw message