Fixed the build error for gcc-14
[platform/core/messaging/email-service.git] / email-api / email-api-mail.c
index 49746ea..c0bc19b 100644 (file)
@@ -404,6 +404,7 @@ EXPORT_API int email_update_mail(email_mail_data_t *input_mail_data, email_attac
                                err = EMAIL_ERROR_OUT_OF_MEMORY;
                                goto FINISH_OFF;
                        }
+               }
 
                /* input_from_eas */
                if (!emipc_add_parameter(hAPI, ePARAMETER_IN, (char*)&input_from_eas, sizeof(int))) {
@@ -2107,5 +2108,5 @@ FINISH_OFF:
        EM_DEBUG_API_END("err[%d]", err);
        return err;
 }
-
+/* LCOV_EXCL_STOP */