svn commit: samba r4506 - in
branches/SAMBA_4_0/source/lib/ldb/modules: .
metze at samba.org
metze at samba.org
Mon Jan 3 14:38:05 GMT 2005
Author: metze
Date: 2005-01-03 14:38:05 +0000 (Mon, 03 Jan 2005)
New Revision: 4506
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4506
Log:
fix compiler warnings
metze
Modified:
branches/SAMBA_4_0/source/lib/ldb/modules/timestamps.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/modules/timestamps.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/modules/timestamps.c 2005-01-03 14:05:47 UTC (rev 4505)
+++ branches/SAMBA_4_0/source/lib/ldb/modules/timestamps.c 2005-01-03 14:38:05 UTC (rev 4506)
@@ -64,7 +64,6 @@
static int add_time_element(struct ldb_module *module, struct ldb_message *msg,
const char *attr_name, const char *time_string, unsigned int flags)
{
- struct private_data *data = (struct private_data *)module->private_data;
struct ldb_val *values;
char *name, *timestr;
int i;
@@ -99,7 +98,6 @@
/* add_record: add crateTimestamp/modifyTimestamp attributes */
static int timestamps_add_record(struct ldb_module *module, const struct ldb_message *msg)
{
- struct private_data *data = (struct private_data *)module->private_data;
struct ldb_message *msg2 = NULL;
struct tm *tm;
char *timestr;
@@ -156,7 +154,6 @@
/* modify_record: change modifyTimestamp as well */
static int timestamps_modify_record(struct ldb_module *module, const struct ldb_message *msg)
{
- struct private_data *data = (struct private_data *)module->private_data;
struct ldb_message *msg2 = NULL;
struct tm *tm;
char *timestr;
More information about the samba-cvs
mailing list