From f6e0e26a6febd0c934a166437bb344f2dbb735a9 Mon Sep 17 00:00:00 2001 From: Kjartan Maraas Date: Wed, 8 Feb 2006 11:51:32 +0000 Subject: s/int/guint/g for 1-bit bitfield. Remove cruft use guint for 1-bit 2006-01-09 Kjartan Maraas * em-account-editor.h: s/int/guint/g for 1-bit bitfield. * em-composer-utils.c: (em_utils_redirect_message): Remove cruft * em-folder-tree.c: (emft_drop_target): use guint for 1-bit bitfield and rename a variable with a name clash. * em-folder-utils.c: (em_folder_utils_rename_folder): Rename var to avoid name clashes. * em-folder-view.c: guint for 1-bit bitfields. * em-folder-view.h: Same as above. * em-format-html-print.h: Again. * em-format-html.c: (efh_text_html), (efh_multipart_related): Add comments * em-format.c: (emf_multipart_alternative): Add comment about using var that is passed in rather than a local variable. * em-inline-filter.c: (emif_scan): Remove unused var. Mark code static. * em-mailer-prefs.h: guint for 1-bit bitfields. * em-migrate.c: (em_migrate_folder): mark a struct static. remove unused var * em-subscribe-editor.c: guint for 1-bit bitfield * em-utils.c: remove unused function * em-vfolder-rule.c: mark array static * importers/mail-importer.c: (decode_status): Remove unused code. Use guint for 1-bit bitfield. * mail-autofilter.c: (rule_from_message): rename a variable * mail-component.c: guint for 1-bit bitfield * mail-folder-cache.c: (update_1folder): remove unused code * mail-mt.c: mark some structs static * message-list.c: (message_list_select_uid), (ml_value_to_string), (ml_tree_value_at), (find_next_undeleted), (build_tree), (build_flat): Remove unused code and fix some format specifiers. svn path=/trunk/; revision=31448 --- mail/mail-folder-cache.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'mail/mail-folder-cache.c') diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c index c0b3d361f9..53e42512c0 100644 --- a/mail/mail-folder-cache.c +++ b/mail/mail-folder-cache.c @@ -340,14 +340,11 @@ free_folder_info(struct _folder_info *mfi) static void update_1folder(struct _folder_info *mfi, int new, CamelFolderInfo *info) { - struct _store_info *si; struct _folder_update *up; CamelFolder *folder; int unread = -1; int deleted; - si = mfi->store_info; - folder = mfi->folder; if (folder) { d(printf("update 1 folder '%s'\n", folder->full_name)); @@ -758,7 +755,7 @@ struct _update_data { struct _update_data *prev; int id; /* id for cancellation */ - int cancel:1; /* also tells us we're cancelled */ + guint cancel:1; /* also tells us we're cancelled */ void (*done)(CamelStore *store, CamelFolderInfo *info, void *data); void *data; -- cgit