Delete unnecessary code 57/81257/1
authorseungha.son <seungha.son@samsung.com>
Mon, 25 Jul 2016 06:10:36 +0000 (15:10 +0900)
committerseungha.son <seungha.son@samsung.com>
Mon, 25 Jul 2016 06:11:29 +0000 (15:11 +0900)
Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I09a0888903b92121551ccc8a71d8764804f01125

src/notification_ipc.c

index 90a913b..236608d 100755 (executable)
@@ -103,7 +103,6 @@ static inline char *_string_get(char *string)
 
 static int _dbus_init()
 {
-       int ret = NOTIFICATION_ERROR_NONE;
        GError *error = NULL;
 
        if (_gdbus_conn == NULL) {
@@ -121,9 +120,8 @@ static int _dbus_init()
 
                notification_error_quark();
 
-               ret = NOTIFICATION_ERROR_NONE;
        }
-       return ret;
+       return NOTIFICATION_ERROR_NONE;
 }
 
 /* LCOV_EXCL_START */