[gnome-calendar/calendar-editor] source-dialog: initialize values



commit 170500aaf9c4ac02da70dd54c0be849b82708f6d
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Thu Apr 9 17:23:05 2015 -0300

    source-dialog: initialize values

 src/gcal-source-dialog.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-source-dialog.c b/src/gcal-source-dialog.c
index 5e1a99f..5c269d1 100644
--- a/src/gcal-source-dialog.c
+++ b/src/gcal-source-dialog.c
@@ -1194,6 +1194,7 @@ validate_url_cb (GcalSourceDialog *dialog)
           gchar *user, *password;
 
           response = prompt_credentials (dialog, &user, &password);
+          user = password = NULL;
 
           /*
            * User entered username and password, let's try


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