[evolution-kolab/ek-wip-porting: 33/36] CamelKolabIMAPXStore: silenced a few compiler warnings
- From: Christian Hilberg <chilberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-kolab/ek-wip-porting: 33/36] CamelKolabIMAPXStore: silenced a few compiler warnings
- Date: Tue, 18 Sep 2012 15:22:41 +0000 (UTC)
commit 422d170617e2369c94281e9a52c68d5728b1c13d
Author: Christian Hilberg <hilberg kernelconcepts de>
Date: Tue Sep 18 15:20:09 2012 +0200
CamelKolabIMAPXStore: silenced a few compiler warnings
src/libekolab/camel-kolab-imapx-store.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/libekolab/camel-kolab-imapx-store.c b/src/libekolab/camel-kolab-imapx-store.c
index 84609b5..c2ec7e5 100644
--- a/src/libekolab/camel-kolab-imapx-store.c
+++ b/src/libekolab/camel-kolab-imapx-store.c
@@ -393,7 +393,7 @@ imapx_store_set_foldertype (CamelKolabIMAPXStore *self,
ma->data[acc] = g_byte_array_new ();
g_byte_array_append (ma->data[acc],
(guchar *) g_strdup (typestring),
- strlen (typestring) + 1);
+ (guint) strlen (typestring) + 1);
me = camel_imapx_metadata_entry_new ();
g_hash_table_insert (me->attributes,
g_strdup ("value"),
@@ -409,9 +409,9 @@ imapx_store_set_foldertype (CamelKolabIMAPXStore *self,
/* set folder type on the server */
metadata_ok = camel_imapx_extd_store_set_metadata (es,
- md,
- cancellable,
- &tmp_err);
+ md,
+ cancellable,
+ &tmp_err);
if (! metadata_ok) {
camel_imapx_metadata_free (md);
g_propagate_error (err, tmp_err);
@@ -601,7 +601,7 @@ imapx_store_show_all_folders (CamelKolabIMAPXStore *self,
GCancellable *cancellable,
GError **err)
{
- CamelKolabIMAPXStorePrivate *priv = NULL;
+ /* CamelKolabIMAPXStorePrivate *priv = NULL; */
CamelFolderInfo *fi = NULL;
CamelFolderInfo *k_fi = NULL;
CamelStoreGetFolderInfoFlags flags = 0;
@@ -612,7 +612,7 @@ imapx_store_show_all_folders (CamelKolabIMAPXStore *self,
/* cancellable may be NULL */
g_return_val_if_fail (err == NULL || *err == NULL, FALSE);
- priv = CAMEL_KOLAB_IMAPX_STORE_PRIVATE (self);
+ /* priv = CAMEL_KOLAB_IMAPX_STORE_PRIVATE (self); */
/* get info tree of all folders */
flags = CAMEL_STORE_FOLDER_INFO_RECURSIVE | CAMEL_STORE_FOLDER_INFO_NO_VIRTUAL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]