Merged revisions 148987 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Tue, 14 Oct 2008 19:03:44 +0000 (19:03 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Tue, 14 Oct 2008 19:03:44 +0000 (19:03 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r148987 | tilghman | 2008-10-14 14:03:08 -0500 (Tue, 14 Oct 2008) | 2 lines

  Some compilers warn, some don't.  Fixing.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@148988 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 7523687..839029a 100644 (file)
@@ -3824,7 +3824,7 @@ static void make_email_file(FILE *p, char *srcemail, struct ast_vm_user *vmu, in
        struct ast_tm tm;
        char enc_cidnum[256] = "", enc_cidname[256] = "";
        char *passdata = NULL, *passdata2;
-       size_t len_passdata, len_passdata2, tmplen;
+       size_t len_passdata = 0, len_passdata2, tmplen;
        char *greeting_attachment; 
        char filename[256];