[gthumb] [photobucket] fixed uninitialized variable warnings



commit b29ae4701eebe584a1477c1a1f361e8274ad1d44
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Mon Jun 7 22:51:00 2010 +0200

    [photobucket] fixed uninitialized variable warnings

 extensions/photobucket/photobucket-consumer.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/extensions/photobucket/photobucket-consumer.c b/extensions/photobucket/photobucket-consumer.c
index de264e9..8a321e5 100644
--- a/extensions/photobucket/photobucket-consumer.c
+++ b/extensions/photobucket/photobucket-consumer.c
@@ -56,8 +56,8 @@ photobucket_utils_parse_response (SoupMessage         *msg,
 		if (g_strcmp0 (node->tag_name, "response") == 0) {
 			DomElement *child;
 			const char *status = NULL;
-			const char *message;
-			const char *code;
+			const char *message = NULL;
+			const char *code = NULL;
 
 			for (child = node->first_child; child; child = child->next_sibling) {
 				if (g_strcmp0 (child->tag_name, "status") == 0) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]