diff options
-rw-r--r-- | source3/lib/charcnv.c | 2 |
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"; |