From bcd5787af9cd042dd2588b899c9393b7f66aa369 Mon Sep 17 00:00:00 2001 From: "intae, jeon" Date: Fri, 15 Jul 2016 13:34:06 +0900 Subject: [PATCH] fix build warning Change-Id: Ib8853ce81381fa2fa67f4a8988eb66bf6a028c54 Signed-off-by: intae, jeon --- email-core/email-core-event.c | 1 - email-core/include/email-core-utils.h | 43 ++++++++++++++++++----------------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/email-core/email-core-event.c b/email-core/email-core-event.c index c9e6d42..c19b9e0 100755 --- a/email-core/email-core-event.c +++ b/email-core/email-core-event.c @@ -535,7 +535,6 @@ INTERNAL_FUNC int emcore_retrieve_event_for_download_attachment(email_event_t ** int ret = false; int error = EMAIL_ERROR_NONE; int q_length = 0; - email_event_t *poped = NULL; email_event_t *head_event = NULL; if (g_event_que) diff --git a/email-core/include/email-core-utils.h b/email-core/include/email-core-utils.h index e4c7e77..1715df1 100755 --- a/email-core/include/email-core-utils.h +++ b/email-core/include/email-core-utils.h @@ -4,7 +4,7 @@ * Copyright (c) 2012 - 2013 Samsung Electronics Co., Ltd. All rights reserved. * * Contact: Kyuho Jo , Sunghyun Kwon -* +* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -24,9 +24,9 @@ * File : email-core-utils.h * Desc : Mail Utils Header * - * Auth : + * Auth : * - * History : + * History : * 2006.08.16 : created *****************************************************************************/ #ifndef __EMAIL_CORE_UTILS_H__ @@ -54,6 +54,7 @@ char* emcore_get_alias_of_mailbox(const char *mailbox_path); /* Parse the Mailbox Path and get the Account Email address */ INTERNAL_FUNC int emcore_get_temp_file_name(char **filename, int *err_code); +INTERNAL_FUNC int emcore_get_temp_mime_file_name(char **filename, int *err_code); int emcore_get_long_encoded_path(char *multi_user_name, int account_id, char *path, int delimiter, char **long_enc_path, int *err_code); int emcore_get_encoded_mailbox_name(char *name, char **enc_name, int *err_code); int emcore_get_file_name(char *path, char **filename, int *err_code); @@ -126,52 +127,52 @@ INTERNAL_FUNC int emcore_disconnect_contacts_service(char *multi_user_name); *@author h.gahlaut@samsung.com * @param[in] id_set Specifies the array of mail_id and corresponding server_mail_id sorted by server_mail_ids in ascending order * @param[in] id_set_count Specifies the no. of cells in id_set array i.e. no. of sets of mail_ids and server_mail_ids - * @param[in] range_len Specifies the maximum length of string of range allowed. + * @param[in] range_len Specifies the maximum length of string of range allowed. * @param[out] uid_range_set Returns the uid_ranges formed in the form of a linked list with head stored in uid_range_set pointer * @param[out] err_code Returns the error code. - * @remarks An example of a uid_range formed is 2 : 6, 8, 10, 14 : 15, 89, - * While using it the caller should remove the ending , (comma) + * @remarks An example of a uid_range formed is 2 : 6, 8, 10, 14 : 15, 89, + * While using it the caller should remove the ending , (comma) * @return This function returns true on success or false on failure. */ - + INTERNAL_FUNC int emcore_convert_to_uid_range_set(email_id_set_t *id_set, int id_set_count, email_uid_range_set **uid_range_set, int range_len, int *err_code); /** * void emcore_free_uid_range_set(email_uid_range_set **uid_range_head) - * Frees the linked list of uid ranges + * Frees the linked list of uid ranges * * @author h.gahlaut@samsung.com - * @param[in] uid_range_head Head pointer of linked list of uid ranges - * @remarks + * @param[in] uid_range_head Head pointer of linked list of uid ranges + * @remarks * @return This function does not return anything. */ INTERNAL_FUNC void emcore_free_uid_range_set(email_uid_range_set **uid_range_set); /** * @fn emcore_append_subset_string_to_uid_range(char *subset_string, email_uid_range_set **uid_range_set, int range_len, unsigned long luid, unsigned long huid) - * Appends the subset_string to uid range if the uid range has not exceeded maximum length(range_len), otherwise creates a new node in linked list of uid range set + * Appends the subset_string to uid range if the uid range has not exceeded maximum length(range_len), otherwise creates a new node in linked list of uid range set * and stores the subset_string in its uid_range. Also sets the lowest and highest uids for the corresponsing uid_range - * + * * @author h.gahlaut@samsung.com * @param[in] subset_string Specifies the subset string to be appended. A subset string can be like X : Y or X where X and Y are uids. - * @param[in] range_len Specifies the maximum length of range string allowed. + * @param[in] range_len Specifies the maximum length of range string allowed. * @param[in] luid Specifies the lowest uid in subset string * @param[in] huid Specifies the highest uid in subset string * @param[out] uid_range_set Returns the uid_ranges formed in the form of a linked list with head stored in uid_range_set pointer * @param[out] err_code Returns the error code. - * @remarks + * @remarks * @return This function returns true on success or false on failure. */ - + int emcore_append_subset_string_to_uid_range(char *subset_string, email_uid_range_set **current_node_adr, email_uid_range_set **uid_range_set, int range_len, unsigned long luid, unsigned long huid); /** * @fn emcore_form_comma_separated_strings(int numbers[], int num_count, int max_string_len, char ***strings, int *string_count, int *err_code) - * Forms comma separated strings of a give max_string_len from an array of numbers - * + * Forms comma separated strings of a give max_string_len from an array of numbers + * * @author h.gahlaut@samsung.com * @param[in] numbers Specifies the array of numbers to be converted into comma separated strings. - * @param[in] num_count Specifies the count of numbers in numbers array. + * @param[in] num_count Specifies the count of numbers in numbers array. * @param[in] max_string_len Specifies the maximum length of comma separated strings that are to be formed. * @param[out] strings Returns the base address of a double dimension array which stores the strings. * @param[out] string_count Returns the number of strings formed. @@ -186,12 +187,12 @@ INTERNAL_FUNC int emcore_form_comma_separated_strings(int numbers[], int num_cou /** * @fn emcore_free_comma_separated_strings(char ***string_list, int *string_count) - * Frees the double dimensional array of strings. + * Frees the double dimensional array of strings. * * @author h.gahlaut@samsung.com * @param[in] uid_range_head Address of base address of double dimensional array of strings. * @param[in] string_count Address of variable holding the count of strings. - * @remarks + * @remarks * @return This function does not return anything. */ @@ -238,7 +239,7 @@ INTERNAL_FUNC char *__em_get_month_in_string(int month); INTERNAL_FUNC int emcore_make_date_string_for_search(time_t input_time, char **output_date_string); INTERNAL_FUNC int emcore_make_uid_range_string(emcore_uid_list *uid_list, int total, char **output_uid_range_string); -INTERNAL_FUNC char* emcore_convert_mutf7_to_utf8(char *mailbox_name); +INTERNAL_FUNC char* emcore_convert_mutf7_to_utf8(char *mailbox_name); #ifdef __cplusplus } #endif /* __cplusplus */ -- 2.7.4