From: Seungha Son Date: Tue, 22 Aug 2017 10:52:15 +0000 (+0900) Subject: Initialize variable to null X-Git-Tag: accepted/tizen/unified/20170824.050842~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e5d9778019de1dbbe2aa403e83da7f4a7eb6f446;p=platform%2Fcore%2Fapi%2Fnotification.git Initialize variable to null Signed-off-by: Seungha Son Change-Id: I3d901d0269837b48c4c4bfddcc0e8d0b673f0f1f --- diff --git a/src/notification_internal.c b/src/notification_internal.c index 9569f17..16020c0 100755 --- a/src/notification_internal.c +++ b/src/notification_internal.c @@ -1897,7 +1897,7 @@ EXPORT_API int notification_get_extension_event_handler(notification_h noti, { int err; int ret = NOTIFICATION_ERROR_NONE; - char *ret_str; + char *ret_str = NULL; char key[KEY_LEN]; bundle *app_control_bundle = NULL; app_control_h ret_app_control = NULL;