Fix a cloned error in both sq_cat() and dq_cat()
This commit is contained in:
parent
b5afc187ee
commit
53a721cdd7
2
configs
2
configs
|
@ -1 +1 @@
|
|||
Subproject commit 43699493840f36a03a7aed7f9bd78eab9e0770e6
|
||||
Subproject commit 38b711de023cfe2f1cabc643f81d9ad5988da3cd
|
|
@ -58,7 +58,7 @@ void dq_cat(FAR dq_queue_t *queue1, FAR dq_queue_t *queue2)
|
|||
|
||||
/* If queue2 is empty, then just move queue1 to queue2 */
|
||||
|
||||
if (!dq_empty(queue2))
|
||||
if (dq_empty(queue2))
|
||||
{
|
||||
dq_move(queue1, queue2);
|
||||
}
|
||||
|
|
|
@ -58,7 +58,7 @@ void sq_cat(FAR sq_queue_t *queue1, FAR sq_queue_t *queue2)
|
|||
|
||||
/* If queue2 is empty, then just move queue1 to queue2 */
|
||||
|
||||
if (!sq_empty(queue2))
|
||||
if (sq_empty(queue2))
|
||||
{
|
||||
sq_move(queue1, queue2);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue