Resolve prevent issues
authorSung-jae Park <nicesj.park@samsung.com>
Wed, 29 May 2013 07:27:57 +0000 (16:27 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Wed, 29 May 2013 07:27:57 +0000 (16:27 +0900)
[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] CID 54749,54750
[problem] N/A
[cause] N/A
[solution] N/A
[team] HomeTF
[request]
[horizontal_expansion]

src/slave_life.c
src/slave_rpc.c

index 6d51ccb..7a54271 100644 (file)
@@ -391,7 +391,7 @@ static Eina_Bool activate_timer_cb(void *data)
        }
 
        ErrPrint("Slave is not activated in %lf sec (slave: %s)\n", SLAVE_ACTIVATE_TIME, slave_name(slave));
-       slave = slave_deactivated(slave);
+       (void)slave_deactivated(slave);
        return ECORE_CALLBACK_CANCEL;
 }
 
index d471a0b..bcd6785 100644 (file)
@@ -353,7 +353,7 @@ static Eina_Bool ping_timeout_cb(void *data)
         * Dead callback will handling this
         */
        DbgPrint("Slave PING TIMEOUT: %s(%d) : %p\n", slave_name(slave), slave_pid(slave), slave);
-       slave = slave_deactivated_by_fault(slave);
+       (void)slave_deactivated_by_fault(slave);
        return ECORE_CALLBACK_CANCEL;
 }