aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/gui/widgets/eab-contact-display.c4
-rw-r--r--addressbook/gui/widgets/eab-gui-util.c2
-rw-r--r--modules/calendar/e-cal-shell-backend.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/addressbook/gui/widgets/eab-contact-display.c b/addressbook/gui/widgets/eab-contact-display.c
index c467e385e4..c62cb8ed0a 100644
--- a/addressbook/gui/widgets/eab-contact-display.c
+++ b/addressbook/gui/widgets/eab-contact-display.c
@@ -345,8 +345,8 @@ contact_display_object_requested (WebKitWebView *web_view,
EContact *contact = display->priv->contact;
const gchar *name = e_contact_get_const (contact, E_CONTACT_FILE_AS);
const gchar *contact_uid = e_contact_get_const (contact, E_CONTACT_UID);
- gchar *full_name;
- EContactAddress *address;
+ gchar *full_name = NULL;
+ EContactAddress *address = NULL;
GtkWidget *map = NULL;
if (strstr (mime_type, "work") != NULL) {
diff --git a/addressbook/gui/widgets/eab-gui-util.c b/addressbook/gui/widgets/eab-gui-util.c
index f64bd2dd18..37816397c3 100644
--- a/addressbook/gui/widgets/eab-gui-util.c
+++ b/addressbook/gui/widgets/eab-gui-util.c
@@ -665,7 +665,7 @@ get_locales (void)
static gchar *
get_locales_str (void)
{
- gchar *ret;
+ gchar *ret = NULL;
gchar **loc = get_locales ();
if (!loc)
diff --git a/modules/calendar/e-cal-shell-backend.c b/modules/calendar/e-cal-shell-backend.c
index 6a9bc1aac8..b43f3563c7 100644
--- a/modules/calendar/e-cal-shell-backend.c
+++ b/modules/calendar/e-cal-shell-backend.c
@@ -413,7 +413,7 @@ cal_shell_backend_handle_uri_cb (EShellBackend *shell_backend,
gchar *comp_rid = NULL;
GDate start_date;
GDate end_date;
- icaltimezone *zone;
+ icaltimezone *zone = NULL;
gboolean handled = FALSE;
GError *error = NULL;