summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a35fa2b)
Cleans:
• plugin_gtk.c:312:9: warning: variable 'old_path' set but not used
• plugin_gtk.c:397:9: warning: variable 'old_path' set but not used
• mailimf_write.c:636:16: warning: variable 'next_word' set but not used
• mailimf_write.c:635:16: warning: variable 'word_end' set but not used
• mailmbox.c:519:10: warning: variable 'fixed_size' set but not used
• mailmbox.c:610:10: warning: variable 'maxuid' set but not used
• mailmbox_folder.c:162:36: warning: assignment from incompatible pointer type
• mailmbox_folder.c:872:5: warning: 'r' may be used uninitialized in this function
int state;
const char * p;
const char * word_begin;
int state;
const char * p;
const char * word_begin;
- const char * word_end;
- const char * next_word;
int first;
state = STATE_BEGIN;
p = str;
word_begin = p;
int first;
state = STATE_BEGIN;
p = str;
word_begin = p;
- word_end = p;
- next_word = p;
first = 1;
while (length > 0) {
first = 1;
while (length > 0) {
const char * message, size_t size,
uint32_t uid, int force_no_uid)
{
const char * message, size_t size,
uint32_t uid, int force_no_uid)
{
size_t cur_token;
size_t left;
int end;
size_t cur_token;
size_t left;
int end;
/* headers */
end = FALSE;
/* headers */
end = FALSE;
char * str;
unsigned int i;
size_t from_size;
char * str;
unsigned int i;
size_t from_size;
size_t left;
size_t crlf_count;
size_t left;
size_t crlf_count;
if (localtime_r(&date, &time_info) != NULL)
from_size = strftime(from_line, MAX_FROM_LINE_SIZE, "From - %c\n", &time_info);
if (localtime_r(&date, &time_info) != NULL)
from_size = strftime(from_line, MAX_FROM_LINE_SIZE, "From - %c\n", &time_info);
- maxuid = /* */ folder->mb_max_uid;
-
extra_size = 0;
for(i = 0 ; i < carray_count(append_tab) ; i ++) {
struct claws_mailmbox_append_info * info;
extra_size = 0;
for(i = 0 ; i < carray_count(append_tab) ; i ++) {
struct claws_mailmbox_append_info * info;
MsgInfoList *msglist, GHashTable *relation);
static gint claws_mailmbox_remove_msg(Folder *folder, FolderItem *item, gint num);
MsgInfoList *msglist, GHashTable *relation);
static gint claws_mailmbox_remove_msg(Folder *folder, FolderItem *item, gint num);
-static gint claws_mailmbox_remove_msgs( Folder *folder, FolderItem *item, MsgInfoList *msglist, GRelation *relation );
+static gint claws_mailmbox_remove_msgs( Folder *folder, FolderItem *item, MsgInfoList *msglist, GHashTable *relation );
static gint claws_mailmbox_remove_all_msg(Folder *folder, FolderItem *item);
static FolderItem *claws_mailmbox_create_folder(Folder *folder, FolderItem *parent,
static gint claws_mailmbox_remove_all_msg(Folder *folder, FolderItem *item);
static FolderItem *claws_mailmbox_create_folder(Folder *folder, FolderItem *parent,
static gint
claws_mailmbox_remove_msgs( Folder *folder, FolderItem *item,
static gint
claws_mailmbox_remove_msgs( Folder *folder, FolderItem *item,
- MsgInfoList *msglist, GRelation *relation )
+ MsgInfoList *msglist, GHashTable *relation )
{
struct claws_mailmbox_folder *mbox;
int r;
{
struct claws_mailmbox_folder *mbox;
int r;
- claws_mailmbox_expunge(mbox);
+ r = claws_mailmbox_expunge(mbox);
if (total > 100) {
statusbar_progress_all(0,0,0);
statusbar_pop_all();
if (total > 100) {
statusbar_progress_all(0,0,0);
statusbar_pop_all();
FolderItem *item;
gchar *message, *name;
AlertValue avalue;
FolderItem *item;
gchar *message, *name;
AlertValue avalue;
gchar *old_id;
item = folderview_get_selected_item(folderview);
gchar *old_id;
item = folderview_get_selected_item(folderview);
g_free(message);
if (avalue != G_ALERTALTERNATE) return;
g_free(message);
if (avalue != G_ALERTALTERNATE) return;
- Xstrdup_a(old_path, item->path, return);
old_id = folder_item_get_identifier(item);
if (folderview->opened == folderview->selected ||
old_id = folder_item_get_identifier(item);
if (folderview->opened == folderview->selected ||
gchar *new_folder;
gchar *name;
gchar *message;
gchar *new_folder;
gchar *name;
gchar *message;
gchar *old_id;
gchar *new_id;
gchar *p;
gchar *old_id;
gchar *new_id;
gchar *p;
- Xstrdup_a(old_path, item->path, {g_free(new_folder); return;});
-
old_id = folder_item_get_identifier(item);
if (folder_item_rename(item, new_folder) < 0) {
old_id = folder_item_get_identifier(item);
if (folder_item_rename(item, new_folder) < 0) {