[grilo-plugins] pocket: initialize variables
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] pocket: initialize variables
- Date: Sun, 2 Mar 2014 16:38:40 +0000 (UTC)
commit d4f2db6e6c73156070803f89a683bdabc3d638eb
Author: Dominique Leuenberger <dimstar opensuse org>
Date: Fri Feb 28 22:40:30 2014 +0100
pocket: initialize variables
https://bugzilla.gnome.org/show_bug.cgi?id=725425
src/pocket/gnome-pocket.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/pocket/gnome-pocket.c b/src/pocket/gnome-pocket.c
index 94ea915..2013624 100644
--- a/src/pocket/gnome-pocket.c
+++ b/src/pocket/gnome-pocket.c
@@ -672,8 +672,8 @@ parse_cached_data (GnomePocket *self)
name = g_dir_read_name (dir);
while (name) {
- JsonParser *parser;
- JsonReader *reader;
+ JsonParser *parser = NULL;
+ JsonReader *reader = NULL;
char *full_path = NULL;
char **members;
GnomePocketItem *item;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]