Handle case of uc_wqueue_handle_write operating on an empty queue
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
static int uc_wqueue_handle_write(struct UCWQueue *wqueue)
|
static int uc_wqueue_handle_write(struct UCWQueue *wqueue)
|
||||||
{
|
{
|
||||||
int rc;
|
int rc = UC_WQ_DONE;
|
||||||
struct IOMuxFD *fd = &wqueue->fd;
|
struct IOMuxFD *fd = &wqueue->fd;
|
||||||
struct IOMux *mux = wqueue->mux;
|
struct IOMux *mux = wqueue->mux;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user