From e5d9778019de1dbbe2aa403e83da7f4a7eb6f446 Mon Sep 17 00:00:00 2001 From: Seungha Son Date: Tue, 22 Aug 2017 19:52:15 +0900 Subject: [PATCH] Initialize variable to null Signed-off-by: Seungha Son Change-Id: I3d901d0269837b48c4c4bfddcc0e8d0b673f0f1f --- src/notification_internal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.7.4