[libgdata] documents: Fix use of an uninitialised variable
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata] documents: Fix use of an uninitialised variable
- Date: Mon, 23 Aug 2010 21:09:10 +0000 (UTC)
commit 936e746d8e8a2a9550b685963355452c5b11726c
Author: Philip Withnall <philip tecnocode co uk>
Date: Mon Aug 23 21:13:41 2010 +0100
documents: Fix use of an uninitialised variable
.../services/documents/gdata-documents-document.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdata/services/documents/gdata-documents-document.c b/gdata/services/documents/gdata-documents-document.c
index 021f946..cb95fc6 100644
--- a/gdata/services/documents/gdata-documents-document.c
+++ b/gdata/services/documents/gdata-documents-document.c
@@ -106,7 +106,7 @@ gdata_documents_document_download (GDataDocumentsDocument *self, GDataDocumentsS
gchar *default_filename, *download_uri;
GFileOutputStream *dest_stream;
GInputStream *src_stream;
- GFile *output_file;
+ GFile *output_file = NULL;
GError *child_error = NULL;
/* TODO: async version */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]