Handle case of uc_wqueue_handle_write operating on an empty queue

This commit is contained in:
Nils O. Selåsdal
2015-12-04 21:49:53 +01:00
parent 877b2edf5b
commit fb5b5f0692
+1 -1
View File
@@ -5,7 +5,7 @@
static int uc_wqueue_handle_write(struct UCWQueue *wqueue)
{
int rc;
int rc = UC_WQ_DONE;
struct IOMuxFD *fd = &wqueue->fd;
struct IOMux *mux = wqueue->mux;