aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-09-14 05:51:43 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-09-14 05:51:43 +0800
commit87c46529b837633f7bc246f26a485262742df000 (patch)
tree9237b0d72ae4c19934bab71d0085d1f6d82b56e9
parent1657cfe34134673a5a09b2e62a9044eca8a6ea09 (diff)
downloadgsoc2013-evolution-87c46529b837633f7bc246f26a485262742df000.tar
gsoc2013-evolution-87c46529b837633f7bc246f26a485262742df000.tar.gz
gsoc2013-evolution-87c46529b837633f7bc246f26a485262742df000.tar.bz2
gsoc2013-evolution-87c46529b837633f7bc246f26a485262742df000.tar.lz
gsoc2013-evolution-87c46529b837633f7bc246f26a485262742df000.tar.xz
gsoc2013-evolution-87c46529b837633f7bc246f26a485262742df000.tar.zst
gsoc2013-evolution-87c46529b837633f7bc246f26a485262742df000.zip
Removed an unused variable.
2000-09-13 Federico Mena Quintero <federico@helixcode.com> * gui/calendar-model.c (obj_updated_cb): Removed an unused variable. svn path=/trunk/; revision=5411
-rw-r--r--calendar/ChangeLog3
-rw-r--r--calendar/gui/calendar-model.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 852d41d2ba..f497d96d65 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,8 @@
2000-09-13 Federico Mena Quintero <federico@helixcode.com>
+ * gui/calendar-model.c (obj_updated_cb): Removed an unused
+ variable.
+
* gui/calendar-model.c (obj_updated_cb): See if the new object
matches the type of objects we were told to deal with.
(load_objects): Likewise.
diff --git a/calendar/gui/calendar-model.c b/calendar/gui/calendar-model.c
index 5a640fe515..7274c13e18 100644
--- a/calendar/gui/calendar-model.c
+++ b/calendar/gui/calendar-model.c
@@ -1517,7 +1517,6 @@ obj_updated_cb (CalClient *client, const char *uid, gpointer data)
const char *new_comp_uid;
int *new_idx;
CalClientGetStatus status;
- gboolean added;
model = CALENDAR_MODEL (data);
priv = model->priv;
@@ -1526,8 +1525,6 @@ obj_updated_cb (CalClient *client, const char *uid, gpointer data)
status = cal_client_get_object (priv->client, uid, &new_comp);
- added = FALSE;
-
switch (status) {
case CAL_CLIENT_GET_SUCCESS:
/* Check if we are interested in this type of object */