forked from Imagelibrary/rtems
disp_hcms29xx.c: Unused value (CID #1399752)
CID 1399752: Unused value in disp_hcms29xx_update_task(). Closes #4342
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
|
||||
#include <rtems.h>
|
||||
#include <rtems/libio.h>
|
||||
#include <rtems/score/assert.h>
|
||||
#include <bsp.h>
|
||||
#include <rtems/libi2c.h>
|
||||
#include <libchip/disp_hcms29xx.h>
|
||||
@@ -596,7 +597,8 @@ static rtems_task disp_hcms29xx_update_task
|
||||
(int) strlen(softc_ptr->disp_param.disp_buffer);
|
||||
}
|
||||
if (rc == RTEMS_SUCCESSFUL) {
|
||||
rc = rtems_semaphore_release(softc_ptr->disp_param.trns_sema_id);
|
||||
rc = rtems_semaphore_release(softc_ptr->disp_param.trns_sema_id);
|
||||
_Assert_Unused_variable_equals(rc, RTEMS_SUCCESSFUL);
|
||||
}
|
||||
/*
|
||||
* set initial offset to negative value
|
||||
|
||||
Reference in New Issue
Block a user