[evolution-kolab/ek-wip-porting] KolabMailInfoDb: removed set-but-not-used variables
- From: Christian Hilberg <chilberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-kolab/ek-wip-porting] KolabMailInfoDb: removed set-but-not-used variables
- Date: Thu, 8 Dec 2011 14:19:29 +0000 (UTC)
commit d4e36c96044cd70c28c3fd0df07ab3acb9540623
Author: Christian Hilberg <hilberg kernelconcepts de>
Date: Thu Dec 8 12:53:43 2011 +0100
KolabMailInfoDb: removed set-but-not-used variables
src/libekolab/kolab-mail-info-db.c | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/src/libekolab/kolab-mail-info-db.c b/src/libekolab/kolab-mail-info-db.c
index 5af506b..c2d4f49 100644
--- a/src/libekolab/kolab-mail-info-db.c
+++ b/src/libekolab/kolab-mail-info-db.c
@@ -1369,7 +1369,7 @@ kolab_mail_info_db_update_folder_summary (KolabMailInfoDb *self,
GError **err)
{
KolabMailInfoDbPrivate *priv = NULL;
- const gchar *foldername = NULL;
+ /* const gchar *foldername = NULL; */
gboolean ok = FALSE;
GError *tmp_err = NULL;
@@ -1380,10 +1380,10 @@ kolab_mail_info_db_update_folder_summary (KolabMailInfoDb *self,
priv = KOLAB_MAIL_INFO_DB_PRIVATE (self);
g_assert (priv->is_up == TRUE);
-
+#if 0
foldername = kolab_folder_summary_get_char_field (summary,
KOLAB_FOLDER_SUMMARY_CHAR_FIELD_FOLDERNAME);
-
+#endif
/* TODO check what needs to be done here */
/* TODO Take care of re-adding folders which have been marked
@@ -1627,7 +1627,7 @@ kolab_mail_info_db_update_record (KolabMailInfoDb *self,
KolabMailInfoDbPrivate *priv = NULL;
KolabFolderSummary *folder_summary = NULL;
KolabObjectCacheLocation location = KOLAB_OBJECT_CACHE_LOCATION_INVAL;
- const gchar *uid = NULL;
+ /* const gchar *uid = NULL; */
gboolean ok = FALSE;
GError *tmp_err = NULL;
@@ -1641,9 +1641,10 @@ kolab_mail_info_db_update_record (KolabMailInfoDb *self,
g_assert (priv->is_up == TRUE);
g_assert (kolab_mail_summary_check (record->summary));
+#if 0
uid = kolab_mail_summary_get_char_field (record->summary,
KOLAB_MAIL_SUMMARY_CHAR_FIELD_KOLAB_UID);
-
+#endif
/* check folder existence */
folder_summary = kolab_mail_info_db_query_folder_summary (self,
foldername,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]