Two warnings removed. 52/60652/1
authorRadoslaw Czerski <r.czerski@samsung.com>
Mon, 29 Feb 2016 13:36:25 +0000 (14:36 +0100)
committerRadoslaw Czerski <r.czerski@samsung.com>
Mon, 29 Feb 2016 13:36:25 +0000 (14:36 +0100)
Change-Id: I161d3db0cc5c66ce94a3972ce8cf6d0b44be8b7f
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
src/ticker.c

index 8f04492..51aa210 100644 (file)
@@ -1055,8 +1055,8 @@ static void _ticker_noti_detailed_changed_cb(void *data, notification_type_e typ
        ret_if(!noti);
 
        notification_get_display_applist(noti, &applist);
-       if (!(applist & NOTIFICATION_DISPLAY_APP_TICKER
-                               || applist & NOTIFICATION_DISPLAY_APP_INDICATOR)) {
+       if (!((applist & NOTIFICATION_DISPLAY_APP_TICKER)
+                               || (applist & NOTIFICATION_DISPLAY_APP_INDICATOR))) {
                DBG("displaying ticker option is off");
                notification_free(noti);
                return;
@@ -1089,8 +1089,8 @@ static void _ticker_noti_detailed_changed_cb(void *data, notification_type_e typ
                DBG("NOTIFICATION_PROP_DISABLE_TICKERNOTI");
                __ticker_only_noti_del(noti);
                notification_free(noti);
-       } else if (applist & NOTIFICATION_DISPLAY_APP_TICKER
-                       || applist & NOTIFICATION_DISPLAY_APP_INDICATOR) {
+       } else if ((applist & NOTIFICATION_DISPLAY_APP_TICKER)
+                       || (applist & NOTIFICATION_DISPLAY_APP_INDICATOR)) {
 
                ticker_info->ticker_list = eina_list_append(ticker_info->ticker_list, noti);
                /* wait when win is not NULL */