summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-07-04 07:50:54 +0000
committerAndrew Tridgell <tridge@samba.org>2001-07-04 07:50:54 +0000
commit0225d0c26d8512e72b3fcac4a9e40592f9cb131f (patch)
treea72deddde401d2da90214f3d3f763e3c8853f994 /source3/lib
parent749bf905d560c2f09de243f4274c0c6945b271a9 (diff)
downloadsamba-0225d0c26d8512e72b3fcac4a9e40592f9cb131f.tar.gz
samba-0225d0c26d8512e72b3fcac4a9e40592f9cb131f.tar.bz2
samba-0225d0c26d8512e72b3fcac4a9e40592f9cb131f.zip
fixed uninitialised variable
(This used to be commit a03992f19b268ca212ada5869c6fc93da5ac3c35)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/charcnv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/charcnv.c b/source3/lib/charcnv.c
index 388c05f816..154e9971e5 100644
--- a/source3/lib/charcnv.c
+++ b/source3/lib/charcnv.c
@@ -85,7 +85,7 @@ static size_t convert_string(smb_iconv_t descriptor,
o_len=destlen;
retval=smb_iconv(descriptor,&inbuf, &i_len, &outbuf, &o_len);
if(retval==-1)
- { char *reason;
+ { char *reason="unknown error";
switch(errno)
{ case EINVAL: reason="Incomplete multybyte sequence"; break;
case E2BIG: reason="No more room";