[Libpst-commits] r57 - trunk

Joseph Nahmias jello at alioth.debian.org
Thu Dec 7 07:05:20 CET 2006


Author: jello
Date: 2006-12-07 07:05:20 +0100 (Thu, 07 Dec 2006)
New Revision: 57

Modified:
   trunk/readpst.c
Log:
initialize enc to avoid a compiler warning

Modified: trunk/readpst.c
===================================================================
--- trunk/readpst.c	2006-12-07 06:02:30 UTC (rev 56)
+++ trunk/readpst.c	2006-12-07 06:05:20 UTC (rev 57)
@@ -143,7 +143,7 @@
   int base64_body = 0;
   //  int encrypt = 0;
   FILE *fp;
-  char *enc; // base64 encoded attachment
+  char *enc = NULL; // base64 encoded attachment
   char *boundary = NULL, *b1, *b2; // the boundary marker between multipart sections
   char *temp = NULL; //temporary char pointer
   int attach_num = 0;




More information about the Libpst-commits mailing list