[evolution-ews] Fix "may be used uninitialized" compilation errors
- From: Pavel Ocheretny <pocheretny src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Fix "may be used uninitialized" compilation errors
- Date: Thu, 25 Aug 2011 11:53:06 +0000 (UTC)
commit 942d752ee7bbe6edf027a672e8236a69d58868e4
Author: Pavel Ocheretny <pavel ocheretny intel com>
Date: Thu Aug 25 14:54:35 2011 +0300
Fix "may be used uninitialized" compilation errors
src/calendar/e-cal-backend-ews.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-ews.c b/src/calendar/e-cal-backend-ews.c
index ea0c407..1ec5400 100644
--- a/src/calendar/e-cal-backend-ews.c
+++ b/src/calendar/e-cal-backend-ews.c
@@ -1620,12 +1620,12 @@ ews_cal_modify_object_cb (GObject *object, GAsyncResult *res, gpointer user_data
ECalBackendEws *cbews = modify_data->cbews;
ECalBackendEwsPrivate *priv = cbews->priv;
GError *error = NULL;
- gchar *comp_str, *comp_str_old;
+ gchar *comp_str = NULL, *comp_str_old = NULL;
GSList *ids = NULL;
const EwsId *item_id;
- icalproperty *icalprop;
+ icalproperty *icalprop = NULL;
icalcomponent *icalcomp;
- ECalComponentId *id;
+ ECalComponentId *id = NULL;
const gchar *x_name;
if (!e_ews_connection_update_items_finish (cnc, res, &ids, &error)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]