fix uninitialized variable(TSAM_10623) 55/101355/1
authorintae, jeon <intae.jeon@samsung.com>
Thu, 1 Dec 2016 03:50:03 +0000 (12:50 +0900)
committerintae, jeon <intae.jeon@samsung.com>
Thu, 1 Dec 2016 03:50:03 +0000 (12:50 +0900)
Change-Id: Ic34a550f44aea231e27b53d5a4aff203e9d007b1
Signed-off-by: intae, jeon <intae.jeon@samsung.com>
email-core/email-core-imap-mailbox.c

index c1349bf..4a96d77 100755 (executable)
@@ -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;
 }