Changeset 2214
- Timestamp:
- 06/18/07 23:44:52
- Files:
-
- trunk/ChangeLog (modified) (1 diff)
- trunk/libtinymail-camel/camel-lite/camel/camel-folder-summary.c (modified) (12 diffs)
- trunk/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-command.c (modified) (1 diff)
- trunk/libtinymail-camel/tny-camel-mime-part.c (modified) (2 diffs)
- trunk/libtinymail-maemo/tny-maemo-conic-device.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ChangeLog
r2212 r2214 1 2007-06-19 Dirk-Jan C. Binnema <dirk-jan.binnema@nokia.com> 2 3 * Compiler warning fixes 4 1 5 2007-06-18 Philip Van Hoof <pvanhoof@gnome.org> 2 6 trunk/libtinymail-camel/camel-lite/camel/camel-folder-summary.c
r2210 r2214 836 836 FILE *out; 837 837 int fd, i; 838 guint32 count ;838 guint32 count = 0; 839 839 CamelMessageInfo *mi; 840 840 char *path; … … 2646 2646 CamelDataWrapper *containee; 2647 2647 int parts, i; 2648 struct _CamelFolderSummaryPrivate *p ;2648 struct _CamelFolderSummaryPrivate *p = NULL; 2649 2649 CamelMessageContentInfo *info = NULL, *child; 2650 2650 CamelContentType *ct; 2651 2651 2652 2652 if (s != NULL && s->build_content) 2653 2653 info = ((CamelFolderSummaryClass *)(CAMEL_OBJECT_GET_CLASS(s)))->content_info_new_from_message(s, object); 2654 2654 else 2655 2655 info = content_info_new_from_message(NULL, object); 2656 2656 2657 2657 if (s != NULL) 2658 2658 p = _PRIVATE(s); … … 2702 2702 my_list_append((struct _node **)&info->childs, (struct _node *)child); 2703 2703 } 2704 } else if (s != NULL && p ->filter_stream2704 } else if (s != NULL && p && p->filter_stream 2705 2705 && camel_content_type_is(ct, "text", "*")) { 2706 2706 int html_id = -1, idx_id = -1; … … 3303 3303 info_ptr(const CamelMessageInfo *mi, int id) 3304 3304 { 3305 const void *retval ;3305 const void *retval = NULL; 3306 3306 3307 3307 g_static_rec_mutex_lock (&global_lock); … … 3329 3329 retval = &((const CamelMessageInfoBase *)mi)->message_id; 3330 3330 break; 3331 3332 default: 3333 g_warning ("%s: invalid id %d", __FUNCTION__, id); 3334 3331 3335 } 3332 3336 … … 3340 3344 info_uint32(const CamelMessageInfo *mi, int id) 3341 3345 { 3342 guint32 retval ;3346 guint32 retval = 0; 3343 3347 3344 3348 g_static_rec_mutex_lock (&global_lock); … … 3354 3358 retval = ((const CamelMessageInfoBase *)mi)->size; 3355 3359 break; 3360 3361 default: 3362 g_warning ("%s: invalid id %d", __FUNCTION__, id); 3356 3363 } 3357 3364 … … 3364 3371 info_time(const CamelMessageInfo *mi, int id) 3365 3372 { 3366 time_t retval ;3373 time_t retval = 0; 3367 3374 3368 3375 g_static_rec_mutex_lock (&global_lock); … … 3379 3386 break; 3380 3387 default: 3381 abort(); 3388 g_warning ("%s: invalid id %d", __FUNCTION__, id); 3389 3382 3390 } 3383 3391 … … 3629 3637 { 3630 3638 CamelMessageInfoBase *mi = (CamelMessageInfoBase *)info; 3631 int res;3639 gboolean res = FALSE; 3632 3640 3633 3641 g_static_rec_mutex_lock (&global_lock); … … 3685 3693 { 3686 3694 CamelMessageInfoBase *mi = (CamelMessageInfoBase *)info; 3687 int res;3695 gboolean res = FALSE; 3688 3696 3689 3697 g_static_rec_mutex_lock (&global_lock); 3690 3698 3691 3699 #ifdef NON_TINYMAIL_FEATURES 3692 3700 res = camel_tag_set(&mi->user_tags, name, value); … … 3702 3710 camel_folder_change_info_free(changes); 3703 3711 } 3704 3712 3705 3713 g_static_rec_mutex_unlock (&global_lock); 3706 3714 trunk/libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-command.c
r2169 r2214 1056 1056 const char *p, *start; 1057 1057 char *out, *outptr, *string; 1058 int num, len, i, arglen ;1058 int num, len, i, arglen = 0; 1059 1059 1060 1060 args = g_ptr_array_new (); trunk/libtinymail-camel/tny-camel-mime-part.c
r2199 r2214 22 22 #include <glib/gi18n-lib.h> 23 23 24 #ifndef _GNU_SOURCE 25 #define _GNU_SOURCE 26 #endif /* GNU_SOURCE*/ 27 24 28 #include <string.h> 25 29 #include <tny-mime-part.h> … … 54 58 #include <camel/camel-mime-filter-charset.h> 55 59 #include <camel/camel-mime-filter-windows.h> 56 57 60 58 61 static void trunk/libtinymail-maemo/tny-maemo-conic-device.c
r2205 r2214 23 23 #include <tny-maemo-conic-device.h> 24 24 #include <string.h> /* For strcmp() */ 25 #include <stdio.h> /* for printf */ 25 26 26 27 #ifdef MAEMO_CONIC_DUMMY
