[grilo] test-ui: Initialize variables
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] test-ui: Initialize variables
- Date: Tue, 30 Apr 2013 08:39:34 +0000 (UTC)
commit cccd542bd94152939f412a5ca46b3407e5dc0334
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date: Tue Apr 30 08:38:40 2013 +0000
test-ui: Initialize variables
tools/grilo-test-ui/main.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/tools/grilo-test-ui/main.c b/tools/grilo-test-ui/main.c
index 19c5369..e00108f 100644
--- a/tools/grilo-test-ui/main.c
+++ b/tools/grilo-test-ui/main.c
@@ -1498,13 +1498,13 @@ authorize_flickr (void)
GtkWidget *view;
GtkWidget *input;
const gchar *verifier;
- gchar *markup;
+ gchar *markup = NULL;
gchar *token = NULL;
- gchar *login_link;
+ gchar *login_link = NULL;
GtkWidget *ok_button;
- gchar *rt_secret;
- gchar *at_secret;
+ gchar *rt_secret = NULL;
+ gchar *at_secret = NULL;
gchar *rt = flickroauth_get_request_token (FLICKR_KEY, FLICKR_SECRET, &rt_secret);
if (!rt) {
@@ -1585,7 +1585,7 @@ set_flickr_config (void)
GrlConfig *config;
GrlRegistry *registry;
gchar *token;
- gchar *secret;
+ gchar *secret = NULL;
registry = grl_registry_get_default ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]