[evolution-ews] Fix compile breakage in ews_expunge_sync()



commit afaa983abdb8b1547e26a23b999b1e7fd533972a
Author: David Woodhouse <David Woodhouse intel com>
Date:   Tue May 24 10:22:53 2011 +0100

    Fix compile breakage in ews_expunge_sync()
    
    camel-ews-folder.c: In function 'ews_expunge_sync':
    camel-ews-folder.c:1183:18: error: variable 'ews_folder' set but not used [-Werror=unused-but-set-variable]

 src/camel/camel-ews-folder.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/camel/camel-ews-folder.c b/src/camel/camel-ews-folder.c
index 1a96227..81efd5d 100644
--- a/src/camel/camel-ews-folder.c
+++ b/src/camel/camel-ews-folder.c
@@ -1180,7 +1180,6 @@ static gboolean
 ews_expunge_sync (CamelFolder *folder, EVO3(GCancellable *cancellable,) GError **error)
 {
 	CamelEwsStore *ews_store;
-	CamelEwsFolder *ews_folder;
 	CamelEwsMessageInfo *ews_info;
 	CamelMessageInfo *info;
 	CamelStore *parent_store;
@@ -1189,7 +1188,6 @@ ews_expunge_sync (CamelFolder *folder, EVO3(GCancellable *cancellable,) GError *
 	gint i, count;
 
 	parent_store = camel_folder_get_parent_store (folder);
-	ews_folder = CAMEL_EWS_FOLDER (folder);
 	ews_store = CAMEL_EWS_STORE (parent_store);
 
 	if (!camel_ews_store_connected (ews_store, error))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]