summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseungha.son <seungha.son@samsung.com>2016-11-29 15:35:17 +0900
committerseungha.son <seungha.son@samsung.com>2016-11-29 15:36:38 +0900
commit5eb83544e46b793f7e83bea800764bbed79ee15e (patch)
tree2605f23d7083a75a49523aa26f4d2f540125d713
parent1bcc109d3f6a5cb693f154616dd667f9b46b7a42 (diff)
downloadnotification-accepted/tizen/3.0/mobile/20161130.091110.tar.gz
notification-accepted/tizen/3.0/mobile/20161130.091110.tar.bz2
notification-accepted/tizen/3.0/mobile/20161130.091110.zip
- Because, Null is already checked where this API is called. Signed-off-by: seungha.son <seungha.son@samsung.com> Change-Id: I62bede4636f531c61938042982079f83a134e021
-rwxr-xr-xsrc/notification_ipc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/notification_ipc.c b/src/notification_ipc.c
index 25f4b3d..6c5fb5b 100755
--- a/src/notification_ipc.c
+++ b/src/notification_ipc.c
@@ -1499,9 +1499,6 @@ int notification_ipc_request_create_from_template(notification_h noti, const cha
GVariant *reply_body;
GVariant *noti_body;
- if (!template_name)
- return NOTIFICATION_ERROR_INVALID_PARAMETER;
-
result = _dbus_init();
if (result != NOTIFICATION_ERROR_NONE) {
NOTIFICATION_ERR("Can't init dbus %d", result);
@@ -1537,9 +1534,6 @@ int notification_ipc_request_create_from_package_template(notification_h noti, c
GVariant *reply_body;
GVariant *noti_body;
- if (pkgname == NULL || template_name == NULL)
- return NOTIFICATION_ERROR_INVALID_PARAMETER;
-
result = _dbus_init();
if (result != NOTIFICATION_ERROR_NONE) {
NOTIFICATION_ERR("Can't init dbus %d", result);