[tracker] tracker-extract-msoffice: Ensure some vars initialization.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tracker-extract-msoffice: Ensure some vars initialization.
- Date: Tue, 4 May 2010 12:54:13 +0000 (UTC)
commit c4d4fea8449f4f23033ee36bd0118634c53a7f1f
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue May 4 13:27:59 2010 +0200
tracker-extract-msoffice: Ensure some vars initialization.
src/tracker-extract/tracker-extract-msoffice.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-msoffice.c b/src/tracker-extract/tracker-extract-msoffice.c
index 4af159d..c9c2de9 100644
--- a/src/tracker-extract/tracker-extract-msoffice.c
+++ b/src/tracker-extract/tracker-extract-msoffice.c
@@ -858,7 +858,7 @@ extract_msword_content (GsfInfile *infile,
guint8 *piece_table = NULL;
guint8 *clx = NULL;
gint lcb_piece_table;
- gint piece_count;
+ gint piece_count = 0;
gint32 fc;
GString *content = NULL;
guint8 *text_buffer = NULL;
@@ -1305,8 +1305,8 @@ xls_get_extended_record_string (GsfInput *stream,
guint parsing_record = 0;
guint8 tmp_buffer[4] = { 0 };
guint i;
- guint8 *buffer;
- gsize buffer_size;
+ guint8 *buffer = NULL;
+ gsize buffer_size = 0;
/* Parsing the record from the list */
record = &g_array_index (list, ExcelExtendedStringRecord, parsing_record);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]