summaryrefslogtreecommitdiff
path: root/source3/tdb
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-04-16 02:35:35 +0000
committerTim Potter <tpot@samba.org>2001-04-16 02:35:35 +0000
commitaf08cd21eb714abc019656bc8cee86fd7a3f20d6 (patch)
treee0e4c9e87c3e95435ffc82652c2adf1179563dae /source3/tdb
parent71ae6a09cd2c4792f95459220645c424f7659913 (diff)
downloadsamba-af08cd21eb714abc019656bc8cee86fd7a3f20d6.tar.gz
samba-af08cd21eb714abc019656bc8cee86fd7a3f20d6.tar.bz2
samba-af08cd21eb714abc019656bc8cee86fd7a3f20d6.zip
Getting medieval with compiler warnings as Jeremy puts it.
(This used to be commit d05c3cf0f47a3c863adbed7ad4ab8f3248cd072d)
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 d683d70c46..95c90efeed 100644
--- a/source3/tdb/tdbutil.c
+++ b/source3/tdb/tdbutil.c
@@ -127,7 +127,7 @@ size_t tdb_pack(char *buf, int bufsize, char *fmt, ...)
uint32 d;
int i;
void *p;
- int len;
+ int len=0;
char *s;
char c;
char *buf0 = buf;
@@ -212,7 +212,7 @@ int tdb_unpack(char *buf, int bufsize, char *fmt, ...)
va_list ap;
uint16 *w;
uint32 *d;
- int len;
+ int len=0;
int *i;
void **p;
char *s, **b;