summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintae, jeon <intae.jeon@samsung.com>2016-12-01 12:50:03 +0900
committerintae jeon <intae.jeon@samsung.com>2016-12-04 15:56:03 -0800
commitd16232c2bf0f27fb3d53ca12c3df7f07454907e4 (patch)
treeeb09c3cb7d4514981aa633be1cae64733c692f7d
parentf08ff3d3f4d095a85d0644f83c2dd202950e8bbe (diff)
downloademail-service-d16232c2bf0f27fb3d53ca12c3df7f07454907e4.tar.gz
email-service-d16232c2bf0f27fb3d53ca12c3df7f07454907e4.tar.bz2
email-service-d16232c2bf0f27fb3d53ca12c3df7f07454907e4.zip
fix uninitialized variable(TSAM_10623)
Change-Id: Ic34a550f44aea231e27b53d5a4aff203e9d007b1 Signed-off-by: intae, jeon <intae.jeon@samsung.com> (cherry picked from commit d7b9143de40eb3a1ef66a7d9b46db1198ad04bbe)
-rwxr-xr-xemail-core/email-core-imap-mailbox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/email-core/email-core-imap-mailbox.c b/email-core/email-core-imap-mailbox.c
index c1349bf..4a96d77 100755
--- a/email-core/email-core-imap-mailbox.c
+++ b/email-core/email-core-imap-mailbox.c
@@ -1037,7 +1037,7 @@ FINISH_OFF:
quota_t callback_for_get_quota_root(MAILSTREAM *stream, unsigned char *mailbox, STRINGLIST *quota_root_list)
{
EM_DEBUG_FUNC_BEGIN();
- quota_t ret_quota;
+ quota_t ret_quota = NIL;
EM_DEBUG_FUNC_END();
return ret_quota;
}
@@ -1045,7 +1045,7 @@ quota_t callback_for_get_quota_root(MAILSTREAM *stream, unsigned char *mailbox,
quota_t callback_for_get_quota(MAILSTREAM *stream, unsigned char *quota_root, QUOTALIST *quota_list)
{
EM_DEBUG_FUNC_BEGIN();
- quota_t ret_quota;
+ quota_t ret_quota = NIL;
EM_DEBUG_FUNC_END();
return ret_quota;
}