diff options
author | Radoslaw Czerski <r.czerski@samsung.com> | 2016-04-01 11:28:04 +0200 |
---|---|---|
committer | Lukasz Stanislawski <l.stanislaws@samsung.com> | 2016-04-01 02:58:33 -0700 |
commit | 5e40b01bf83c74277375b863d3b0f10fbab7eea1 (patch) | |
tree | 75679b6a846dbaf0a4ed4b68512588dd0a7f98f9 | |
parent | b87aa3e627bd3f0b15c0a29785c4f07df97a2d77 (diff) | |
download | indicator-win-5e40b01bf83c74277375b863d3b0f10fbab7eea1.tar.gz indicator-win-5e40b01bf83c74277375b863d3b0f10fbab7eea1.tar.bz2 indicator-win-5e40b01bf83c74277375b863d3b0f10fbab7eea1.zip |
modules/information/noti: warnings removed.
Change-Id: Ic41febe3bac246be3ebf8403bf6b26617786c7f6
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
-rw-r--r-- | src/modules/information/noti.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/information/noti.c b/src/modules/information/noti.c index 56c8eb5..476e5d1 100644 --- a/src/modules/information/noti.c +++ b/src/modules/information/noti.c @@ -139,7 +139,6 @@ char *__indicator_ui_get_pkginfo_icon(const char *pkgid) ret = app_info_create(pkgid, &app_info); retvm_if(ret != APP_MANAGER_ERROR_NONE, NULL, "app_info_create for %s failed %d", pkgid, ret); - return NULL; /* Icon path */ ret = app_info_get_icon(app_info, &icon_path); @@ -440,12 +439,13 @@ static void _change_icon_status(void *data, notification_list_h noti_list) if (noti_ret != NOTIFICATION_ERROR_NONE) continue; if (!(applist & NOTIFICATION_DISPLAY_APP_INDICATOR)) continue; - noti_ret = notification_get_pkgname(noti, &pkgname); noti_ret = notification_get_id(noti, NULL, &prev_id); snprintf(prev_id_str, sizeof(prev_id_str), "%d", prev_id); if (noti_ret != NOTIFICATION_ERROR_NONE) { + noti_ret = notification_get_pkgname(noti, &pkgname); + if (noti_ret != NOTIFICATION_ERROR_NONE) continue; _D("Cannot Get pkgname of notication! : %p %p", noti, pkgname); } else { status_exist = _is_exist_by_privid(prev_id_str); |