[evolution-ews] Initializing some variables in oal_decompress_v4_full_detail_file() in order to prevent compilation
- From: Or Goshen <ogosh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Initializing some variables in oal_decompress_v4_full_detail_file() in order to prevent compilation
- Date: Wed, 29 Jun 2011 14:11:35 +0000 (UTC)
commit 600e1fb077cadfcb278cc0efe6f6f8661e5a970b
Author: Or Goshen <orx goshen intel com>
Date: Wed Jun 29 17:17:12 2011 +0300
Initializing some variables in oal_decompress_v4_full_detail_file() in order to prevent compilation errors
src/addressbook/lzx/ews-oal-decompress.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/addressbook/lzx/ews-oal-decompress.c b/src/addressbook/lzx/ews-oal-decompress.c
index 571838a..3cd0f66 100644
--- a/src/addressbook/lzx/ews-oal-decompress.c
+++ b/src/addressbook/lzx/ews-oal-decompress.c
@@ -139,9 +139,9 @@ exit:
gboolean
oal_decompress_v4_full_detail_file (const gchar *filename, const gchar *output_filename, GError **error)
{
- LzxHeader *lzx_h;
+ LzxHeader *lzx_h = NULL;
guint total_decomp_size = 0;
- FILE *input, *output;
+ FILE *input, *output = NULL;
gboolean ret = TRUE;
GError *err = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]