mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Non-operational change, fix compiler warning.
Reviewed by: mckusick
This commit is contained in:
parent
9bfb3cb2c7
commit
173cce7c8e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55947
@ -640,7 +640,7 @@ softdep_move_dependencies(oldbp, newbp)
|
|||||||
panic("softdep_move_dependencies: need merge code");
|
panic("softdep_move_dependencies: need merge code");
|
||||||
wktail = 0;
|
wktail = 0;
|
||||||
ACQUIRE_LOCK(&lk);
|
ACQUIRE_LOCK(&lk);
|
||||||
while (wk = LIST_FIRST(&oldbp->b_dep)) {
|
while ((wk = LIST_FIRST(&oldbp->b_dep)) != NULL) {
|
||||||
LIST_REMOVE(wk, wk_list);
|
LIST_REMOVE(wk, wk_list);
|
||||||
if (wktail == 0)
|
if (wktail == 0)
|
||||||
LIST_INSERT_HEAD(&newbp->b_dep, wk, wk_list);
|
LIST_INSERT_HEAD(&newbp->b_dep, wk, wk_list);
|
||||||
|
@ -640,7 +640,7 @@ softdep_move_dependencies(oldbp, newbp)
|
|||||||
panic("softdep_move_dependencies: need merge code");
|
panic("softdep_move_dependencies: need merge code");
|
||||||
wktail = 0;
|
wktail = 0;
|
||||||
ACQUIRE_LOCK(&lk);
|
ACQUIRE_LOCK(&lk);
|
||||||
while (wk = LIST_FIRST(&oldbp->b_dep)) {
|
while ((wk = LIST_FIRST(&oldbp->b_dep)) != NULL) {
|
||||||
LIST_REMOVE(wk, wk_list);
|
LIST_REMOVE(wk, wk_list);
|
||||||
if (wktail == 0)
|
if (wktail == 0)
|
||||||
LIST_INSERT_HEAD(&newbp->b_dep, wk, wk_list);
|
LIST_INSERT_HEAD(&newbp->b_dep, wk, wk_list);
|
||||||
|
Loading…
Reference in New Issue
Block a user