summaryrefslogtreecommitdiff
path: root/source3/tdb
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-04-11 01:50:12 +0000
committerTim Potter <tpot@samba.org>2001-04-11 01:50:12 +0000
commitb541683e44ebcfdf3259325d266a60eaaf19dc95 (patch)
tree35317d18faa2f22a20f2cf53e8f2df3e03ee246f /source3/tdb
parent3a38f122d9bf747ae31d630da1ce6762aefa47ce (diff)
downloadsamba-b541683e44ebcfdf3259325d266a60eaaf19dc95.tar.gz
samba-b541683e44ebcfdf3259325d266a60eaaf19dc95.tar.bz2
samba-b541683e44ebcfdf3259325d266a60eaaf19dc95.zip
Fixed some compiler warnings.
(This used to be commit cda0f211b0dd41ae72ef3d65b9476c11c6f72de3)
Diffstat (limited to 'source3/tdb')
-rw-r--r--source3/tdb/tdbutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/tdb/tdbutil.c b/source3/tdb/tdbutil.c
index 4df7f9004e..27aac560e0 100644
--- a/source3/tdb/tdbutil.c
+++ b/source3/tdb/tdbutil.c
@@ -135,7 +135,7 @@ va_dcl
uint32 d;
int i;
void *p;
- int len;
+ int len = 0;
char *s;
char c;
#ifdef HAVE_STDARG_H
@@ -243,7 +243,7 @@ va_dcl
va_list ap;
uint16 *w;
uint32 *d;
- int len;
+ int len = 0;
int *i;
void **p;
char *s, **b;